From 9f0cafd5645b2aa57e5e6c29152c04be1158411e Mon Sep 17 00:00:00 2001 From: Wangerry Date: Mon, 8 Feb 2021 18:16:18 +0800 Subject: [PATCH] Update Dockerfile add EXPOSE into Dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 78d904133..09cc1323e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -97,7 +97,10 @@ RUN chmod +x /docker-entrypoint.sh RUN chmod +x /init-db.sh RUN chmod +x server/php/shell/main.sh +# Default ports +EXPOSE 80 + # TODO root user should be avoided but required for now ENTRYPOINT ["/docker-entrypoint.sh"] -CMD ["start"] \ No newline at end of file +CMD ["start"]