Attempt I don't know
This commit is contained in:
@@ -10,7 +10,7 @@ RUN mkdir /app
|
|||||||
ADD . /app
|
ADD . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN go build -ldflags="-w -s" -o server
|
RUN go build -ldflags="-w -s"
|
||||||
|
|
||||||
FROM alpine:latest AS production
|
FROM alpine:latest AS production
|
||||||
COPY --from=builder /app .
|
COPY --from=builder /app .
|
||||||
@@ -18,4 +18,4 @@ COPY --from=builder /app .
|
|||||||
VOLUME /Manuals
|
VOLUME /Manuals
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
CMD ["./server"]
|
CMD ["./Server"]
|
||||||
|
|||||||
Reference in New Issue
Block a user