This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user