chore(docker): update build path and volume comment
This commit is contained in:
@@ -16,7 +16,7 @@ COPY static/ static/
|
||||
COPY templates/ templates/
|
||||
|
||||
# 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
|
||||
FROM alpine:3.21
|
||||
|
||||
@@ -5,6 +5,8 @@ services:
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
# For podman please use :Z
|
||||
# - ./data:/app/data:Z
|
||||
- ./data:/app/data
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
Reference in New Issue
Block a user