Set container default HTTP port to 80 for hosted runtime
Deploy Backend / deploy (push) Has been cancelled

This commit is contained in:
Abdul Kareem
2026-02-17 00:09:35 +03:00
parent 60bbf14ec7
commit 646fd8f8cf
+2 -2
View File
@@ -53,7 +53,7 @@ RUN cp .env.example .env || true \
COPY docker/entrypoint.sh /usr/local/bin/entrypoint.sh COPY docker/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh RUN chmod +x /usr/local/bin/entrypoint.sh
EXPOSE 8000 EXPOSE 80
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["sh", "-c", "php artisan serve --host=0.0.0.0 --port=${PORT:-8000}"] CMD ["sh", "-c", "php artisan serve --host=0.0.0.0 --port=${PORT:-80}"]