Merge pull request #29 from Creling/master

fix: change the EXPOSE port to ${WEB_PORT}
This commit is contained in:
HalcyonAzure authored and GitHub committed 2023-09-05 18:06:51 +08:00
commit eb8df3ec6b
1 file changed
+1
+1
View File
@@ -40,6 +40,7 @@ COPY entrypoint.sh /
WORKDIR /var/www/html/
VOLUME /var/www/html
ENV WEB_PORT 8089
EXPOSE ${WEB_PORT}
RUN chmod a+x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["apachectl","-D","FOREGROUND"]