mirror of
https://github.com/mpolden/echoip.git
synced 2025-07-16 22:13:33 +02:00
New template (#121)
This commit is contained in:
@ -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"]
|
||||
|
Reference in New Issue
Block a user