From 16ab6c6624875be7452687c5fc5ccc4b6984adfe Mon Sep 17 00:00:00 2001 From: ruflin Date: Tue, 17 Sep 2019 10:11:39 +0200 Subject: [PATCH] split up --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f9c1cda9d..638305fa8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,5 +21,6 @@ RUN mage build # If we keep it, it means all packages exist twice. RUN rm -rf dev +ENTRYPOINT ["go", "run", "."] # Make sure it's accessible from outside the container -CMD ["go", "run", ".", "--address=0.0.0.0:8080"] +CMD ["--address=0.0.0.0:8080"]