Dockerfile_Ubuntu aktualisiert
All checks were successful
release-tag / release-image (push) Successful in 12m53s
All checks were successful
release-tag / release-image (push) Successful in 12m53s
This commit is contained in:
@@ -9,9 +9,17 @@ RUN mkdir -p /var/run/php
|
||||
RUN groupadd -g 1001 swarmdocker
|
||||
RUN useradd -u 3041 -g swarmdocker -s /bin/bash -m phpitop
|
||||
RUN useradd -u 3040 -g swarmdocker -s /bin/bash -m nginxitop
|
||||
RUN echo "\
|
||||
#!/bin/sh\n\
|
||||
echo \"Starting services...\"\n\
|
||||
service php8.2-fpm start\n\
|
||||
nginx -g \"daemon off;\" &\n\
|
||||
echo \"Ready.\"\n\
|
||||
tail -s 1 /var/log/nginx/*.log -f\n\
|
||||
" > /start.sh
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
EXPOSE 6379
|
||||
EXPOSE 9000
|
||||
STOPSIGNAL SIGTERM
|
||||
CMD bash -c "php-fpm && nginx -g 'daemon off;' && redis-server /etc/redis/redis.conf"
|
||||
CMD ["sh", "/start.sh"]
|
Reference in New Issue
Block a user