Files
kontor/kontor-gin/Containerfile.local
T
Thomas Peetz 044da5353a
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
add templates for kontor-gin
2026-09-22 19:19:51 +02:00

12 lines
412 B
Docker

FROM docker.io/library/golang:1.26-alpine
# Install runtime dependencies you actually need
RUN apk add --no-cache ca-certificates tzdata curl git make musl-dev go
# Set the working directory
WORKDIR /app
# Copy the binary and set ownership
COPY ./kontor kontor
EXPOSE 8550
ENV DB_HOST=postgres DB_USER=kontor DB_PASSWORD=kontor DB_NAME=kontor DB_PORT=5432
# Set the entrypoint command
ENTRYPOINT ["/app/kontor"]