Skip to content

Commit 05004a7

Browse files
committed
move docker foler
move docker folder from .dev/ update Dockerfile and entrypoint scripts to match
1 parent f59a87a commit 05004a7

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ RUN cp .env.example .env \
2121
&& rm .env \
2222
&& chown -R nginx:nginx . && chmod -R 777 storage/* bootstrap/cache
2323

24-
RUN cp .dev/docker/default.conf /etc/nginx/conf.d/default.conf \
25-
&& cat .dev/docker/www.conf > /usr/local/etc/php-fpm.d/www.conf \
24+
RUN cp docker/default.conf /etc/nginx/conf.d/default.conf \
25+
&& cat docker/www.conf > /usr/local/etc/php-fpm.d/www.conf \
2626
&& rm /usr/local/etc/php-fpm.d/www.conf.default \
27-
&& cat .dev/docker/supervisord.conf > /etc/supervisord.conf \
27+
&& cat docker/supervisord.conf > /etc/supervisord.conf \
2828
&& echo "* * * * * /usr/bin/php /app/artisan schedule:run >> /dev/null 2>&1" >> /var/spool/cron/crontabs/root \
2929
&& sed -i s/ssl_session_cache/#ssl_session_cache/g /etc/nginx/nginx.conf \
3030
&& mkdir -p /var/run/php /var/run/nginx
3131

3232
EXPOSE 80 443
3333

34-
ENTRYPOINT ["/bin/ash", ".dev/docker/entrypoint.sh"]
34+
ENTRYPOINT ["/bin/ash", "docker/entrypoint.sh"]
3535

3636
CMD [ "supervisord", "-n", "-c", "/etc/supervisord.conf" ]
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ else
4141
echo "Checking if letsencrypt email is set."
4242
if [ -z $LE_EMAIL ]; then
4343
echo "No letsencrypt email is set using http config."
44-
cp .dev/docker/default.conf /etc/nginx/conf.d/default.conf
44+
cp docker/default.conf /etc/nginx/conf.d/default.conf
4545
else
4646
echo "writing ssl config"
47-
cp .dev/docker/default_ssl.conf /etc/nginx/conf.d/default.conf
47+
cp docker/default_ssl.conf /etc/nginx/conf.d/default.conf
4848
echo "updating ssl config for domain"
4949
sed -i "s|<domain>|$(echo $APP_URL | sed 's~http[s]*://~~g')|g" /etc/nginx/conf.d/default.conf
5050
echo "generating certs"
File renamed without changes.

0 commit comments

Comments
 (0)