Trying go

This commit is contained in:
2019-03-22 18:00:45 -06:00
parent 0e045e0ccb
commit 4cb49a5a7d

View File

@@ -1,4 +1,4 @@
FROM golang:1.12.1 AS builder
FROM golang:1.12.1
RUN set -ex && \
apt-get update && \
@@ -12,10 +12,7 @@ WORKDIR /app
RUN GOOS=linux go build -ldflags="-w -s"
FROM alpine:latest AS production
COPY --from=builder /app .
VOLUME /Manuals
VOLUME /app/Manuals
EXPOSE 8080
ENTRYPOINT ["Server"]
CMD ["/app/Server"]