new dockerfile things

This commit is contained in:
Pierre Dubouilh
2018-12-22 23:52:04 +01:00
parent 6beace6fba
commit 61673432c1
7 changed files with 65 additions and 11 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM golang:latest as builder
COPY . /gossaSrc
RUN cd /gossaSrc && make
FROM alpine
EXPOSE 8001
COPY --from=builder /gossaSrc/gossa /gossa
ENTRYPOINT [ "/gossa", "-h", "0.0.0.0", "/shared" ]