Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpolden/echoip.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThatcher <thatcher@peskens.nl>2020-12-14 21:02:35 +0300
committerGitHub <noreply@github.com>2020-12-14 21:02:35 +0300
commitab8f90431be7174e95251b53662afb8cc1732fdc (patch)
tree0dedc9940f52cc2b4fb867527b2700208799662c /Dockerfile
parent762f4548650f02b18962ba87ae17ad3dd88a6d95 (diff)
New template (#121)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 3c2e089..e6f18a2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"]