chore(docker): update build path and volume comment
This commit is contained in:
@@ -16,7 +16,7 @@ COPY static/ static/
|
|||||||
COPY templates/ templates/
|
COPY templates/ templates/
|
||||||
|
|
||||||
# Build the binary
|
# Build the binary
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o warpbox ./cmd/main.go
|
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o warpbox ./cmd/
|
||||||
|
|
||||||
# Stage 2: Runtime
|
# Stage 2: Runtime
|
||||||
FROM alpine:3.21
|
FROM alpine:3.21
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
|
# For podman please use :Z
|
||||||
|
# - ./data:/app/data:Z
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|||||||
Reference in New Issue
Block a user