1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-03 04:25:25 +02:00

Provide Docker Compose file for quick app+db setup

Closes #311
This commit is contained in:
HarveyKandola 2019-08-29 14:14:10 +01:00
parent 66e11cefbc
commit 44febcc25c
2 changed files with 52 additions and 3 deletions

View file

@ -1,8 +1,7 @@
FROM golang:1.12-alpine as builder
COPY . /go/src/github.com/documize/community
RUN cd /go/src/github.com/documize/community && \
env GOOS=linux GOARCH=amd64 GODEBUG=tls13=1 go build -o bin/documize-community-linux-amd64 ./edition/community.go
RUN cd /go/src/github.com/documize/community
RUN env GOOS=linux GOARCH=amd64 GODEBUG=tls13=1 go build -o bin/documize-community-linux-amd64 ./edition/community.go
# build release image
FROM alpine:3.10