Declare EXPOSE 80 in the image
Build / build-and-push (push) Successful in 14s

Apache listens on 80; declaring it lets `docker run -P` and other
tooling discover the port.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-06 21:27:01 +01:00
co-authored by Claude Sonnet 5
parent 8732e0e5f5
commit ce294faed7
+3
View File
@@ -79,6 +79,9 @@ RUN composer dump-autoload --optimize --no-dev \
# --- Built frontend: served from the web root next to the API front controller # --- Built frontend: served from the web root next to the API front controller
COPY --from=frontend /web/dist/ ./public/ COPY --from=frontend /web/dist/ ./public/
# Apache listens on 80 -- declare it so `docker run -P` and tooling pick it up.
EXPOSE 80
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["httpd", "-D", "FOREGROUND"] CMD ["httpd", "-D", "FOREGROUND"]