new dockerfile things

This commit is contained in:
Pierre Dubouilh committed 2018-12-22 23:52:04 +01:00
1 parent 6beace6fba
commit 61673432c1
7 files changed
+65 -11

No files matched your search

+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" ]