Skip to content

Commit

Permalink
Start winning on the first try! #WINNING
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoughtelin committed Feb 10, 2021
1 parent 64b4ca1 commit 15ebad7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM php:7.4-fpm-alpine

RUN apk add --no-cache nginx supervisor wget
RUN apk add --no-cache nginx wget

RUN mkdir -p /run/nginx

Expand Down
6 changes: 5 additions & 1 deletion docker/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

sed -i "s,LISTEN_PORT,$PORT,g" /etc/nginx/nginx.conf

/usr/bin/supervisord -c /app/docker/supervisord.conf
php-fpm -D

while ! nc -w 1 -z 127.0.0.1 9000; do sleep 0.1; done;

nginx
19 changes: 0 additions & 19 deletions docker/supervisord.conf

This file was deleted.

0 comments on commit 15ebad7

Please sign in to comment.