16 lines
205 B
Docker
16 lines
205 B
Docker
FROM golang:1.21.4
|
|
|
|
WORKDIR /app
|
|
|
|
COPY *.go ./
|
|
COPY *.mod ./
|
|
COPY *.sum ./
|
|
COPY lib ./lib
|
|
COPY routes ./routes
|
|
COPY public ./public
|
|
COPY templates ./templates
|
|
|
|
RUN go build .
|
|
|
|
ENTRYPOINT ["/app/website"]
|