diff --git a/Dockerfile b/Dockerfile index b92210d..f5188d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.16-alpine3.13 as build +FROM golang:1.16-alpine3.14 as build WORKDIR /app RUN apk add --no-cache git gcc musl-dev RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main sqlite-dev @@ -10,7 +10,7 @@ Add templates/ /app/templates/ RUN go test -cover ./... RUN go build -ldflags '-w -s' -o GoBlog -FROM alpine:3.13 +FROM alpine:3.14 WORKDIR /app VOLUME /app/config VOLUME /app/data