i am silly
This commit is contained in:
parent
40cc49f4c8
commit
f06cc87b23
@ -12,8 +12,5 @@ COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
|||||||
COPY ./upload.php /tmp/upload.php
|
COPY ./upload.php /tmp/upload.php
|
||||||
COPY ./docker/start.sh /start.sh
|
COPY ./docker/start.sh /start.sh
|
||||||
|
|
||||||
# Start php dependencies
|
|
||||||
RUN service php8.1-fpm start
|
|
||||||
|
|
||||||
# Start server
|
# Start server
|
||||||
CMD ["bash", "/start.sh"]
|
CMD ["bash", "/start.sh"]
|
@ -6,6 +6,10 @@ else
|
|||||||
echo "Upload script was not found, copying it."
|
echo "Upload script was not found, copying it."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Start php dep
|
||||||
|
echo "Starting PHP"
|
||||||
|
service php8.1-fpm start
|
||||||
|
|
||||||
# Start Nginx
|
# Start Nginx
|
||||||
echo "Starting Nginx"
|
echo "Starting Nginx"
|
||||||
nginx -g "daemon off;"
|
nginx -g "daemon off;"
|
Loading…
Reference in New Issue
Block a user