security/Dockerfile

16 lines
230 B
Docker
Raw Normal View History

2024-08-09 21:52:37 +00:00
FROM golang:1.22.5
2024-03-21 20:20:24 +00:00
WORKDIR /app
COPY *.go ./
COPY *.mod ./
COPY *.sum ./
COPY lib ./lib
COPY public ./public
COPY routes ./routes
COPY templates ./templates
2024-08-09 21:52:37 +00:00
RUN go build .
2024-03-21 20:20:24 +00:00
ENTRYPOINT ["/app/security"]