Fix build issue in Dockerfile

This commit is contained in:
Vikram Rangnekar 2019-03-27 03:05:20 -04:00
parent 59b6a4a368
commit 47b11a14cb
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ RUN go get github.com/pilu/fresh
#second stage #second stage
FROM alpine:latest FROM alpine:latest
WORKDIR /app WORKDIR /app
RUN apk add --no-cache tzdata RUN apk add --no-cache tzdata && \
mkdir -p /app/web/build
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/service . COPY --from=builder /app/service .