New template (#121)

This commit is contained in:
Thatcher
2020-12-14 19:02:35 +01:00
committed by GitHub
parent 762f454865
commit ab8f90431b
11 changed files with 640 additions and 204 deletions

View File

@ -9,9 +9,9 @@ RUN make
# Run
FROM scratch
EXPOSE 8080
COPY --from=build \
/go/bin/echoip \
/go/src/github.com/mpolden/echoip/index.html \
/opt/echoip/
COPY --from=build /go/bin/echoip /opt/echoip/
COPY html /opt/echoip/html
WORKDIR /opt/echoip
ENTRYPOINT ["/opt/echoip/echoip"]