From 976064da9c80d5791f88e36ce31fc2891538d769 Mon Sep 17 00:00:00 2001 From: Alireza Josheghani Date: Wed, 9 Sep 2020 11:36:58 +0430 Subject: [PATCH] Update dockerfile to use ENTRYPOINT --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0afe640..cbf5ef3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,4 +21,5 @@ RUN go build -o movie.night.api.server . EXPOSE 9002 -CMD ["./movie.night.api.server"] \ No newline at end of file +ENTRYPOINT ["./movie.night.api.server"] +CMD ["--port", "9002"] \ No newline at end of file