Harden hosted DB env wiring and runtime bootstrap
Deploy Backend / deploy (push) Has been cancelled

This commit is contained in:
Abdul Kareem
2026-02-17 00:56:00 +03:00
parent 9730598e68
commit ddddfe4b9d
4 changed files with 34 additions and 5 deletions
+3
View File
@@ -15,9 +15,12 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
WORKDIR /var/www
COPY . .
COPY docker/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
RUN composer install --no-dev --optimize-autoloader
EXPOSE 80
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["php", "-S", "0.0.0.0:80", "-t", "public"]