Fixed issues with public files

This commit is contained in:
2022-04-19 16:56:09 +02:00
parent a5e5f660e6
commit ec708a7723
4 changed files with 12 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.17.7-alpine3.15 AS builder
FROM golang:1.18.1-alpine3.15 AS builder
# Install missing pkgs
RUN apk add --no-cache git
@@ -34,5 +34,8 @@ FROM scratch
COPY --from=builder /dist/main /
# Copy public files
COPY ./public /public
# Command to run
ENTRYPOINT ["/main"]