1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-18 20:59:43 +02:00

fixed and updated dockerfile

This commit is contained in:
Anton Lydike 2020-08-21 15:38:09 +02:00
parent 4a7d915ebb
commit 724f3c88b3

View file

@ -1,6 +1,6 @@
FROM golang:1.12-alpine as builder
FROM golang:1.15-alpine as builder
COPY . /go/src/github.com/documize/community
RUN cd /go/src/github.com/documize/community
WORKDIR /go/src/github.com/documize/community
RUN env GOOS=linux GOARCH=amd64 GODEBUG=tls13=1 go build -mod=vendor -o bin/documize-community-linux-amd64 ./edition/community.go
# build release image