Trying go
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user