security/Dockerfile

18 lines
240 B
Docker

FROM golang:1.22.5
WORKDIR /app
COPY *.go ./
COPY *.mod ./
COPY *.sum ./
COPY lib ./log
COPY lib ./lib
COPY public ./public
COPY routes ./routes
COPY templates ./templates
RUN go build .
ENTRYPOINT ["/app/security"]