Merge pull request #331 from X3MBoy/busybox

Changing Apache web server for busybox light web sever
This commit is contained in:
Ondřej Žára
2025-02-10 09:46:38 +01:00
committed by GitHub
+4 -7
View File
@@ -1,13 +1,10 @@
FROM php:5-apache
RUN sed -i 's/Listen 80/Listen ${PORT}/' /etc/apache2/ports.conf
ENV PORT=8080
EXPOSE 8080
FROM busybox:1.37
WORKDIR /var/www/html
USER www-data
COPY . .
# Run BusyBox httpd on port 8080
CMD ["busybox", "httpd", "-f", "-v", "-p", "8080"]