2024-11-22 14:00:45 +00:00
|
|
|
FROM golang:1.23.2
|
2024-03-21 20:20:24 +00:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
2024-08-25 21:27:25 +00:00
|
|
|
COPY *.go ./
|
|
|
|
COPY *.mod ./
|
|
|
|
COPY *.sum ./
|
|
|
|
|
2024-03-21 20:20:24 +00:00
|
|
|
COPY lib ./lib
|
2024-08-25 23:49:00 +00:00
|
|
|
COPY log ./log
|
2024-03-21 20:20:24 +00:00
|
|
|
COPY public ./public
|
|
|
|
COPY routes ./routes
|
|
|
|
COPY templates ./templates
|
|
|
|
|
2024-08-25 23:49:00 +00:00
|
|
|
RUN go build
|
2024-03-21 20:20:24 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/app/security"]
|