security/Dockerfile

16 lines
231 B
Docker
Raw Normal View History

2024-03-21 20:24:36 +00:00
FROM golang:1.22.0
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
RUN go build .
ENTRYPOINT ["/app/security"]