From 54bb68642f543792e02b89f16ed9f34b933fe3de Mon Sep 17 00:00:00 2001 From: Daniel Legt Date: Fri, 1 May 2026 02:58:16 +0300 Subject: [PATCH] chore(docker): update build path and volume comment --- Dockerfile | 2 +- docker-compose.example.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 66792ba..5688cf2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 9737793..90edda9 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -5,6 +5,8 @@ services: ports: - "8080:8080" volumes: + # For podman please use :Z + # - ./data:/app/data:Z - ./data:/app/data env_file: - .env