Fixed issues with public files
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user