update:docker stuff
This commit is contained in:
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.env
|
||||||
|
.env.*
|
||||||
@@ -14,7 +14,7 @@ RUN bunx @tailwindcss/cli \
|
|||||||
|
|
||||||
|
|
||||||
# go build
|
# go build
|
||||||
FROM golang:1.23-alpine AS builder
|
FROM golang:1.25-alpine AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ services:
|
|||||||
personal-site:
|
personal-site:
|
||||||
build: .
|
build: .
|
||||||
container_name: personal-site
|
container_name: personal-site
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:3500:3500"
|
- "127.0.0.1:3500:3500"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user