File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ ENV FF_VERSION 4.6.8
55ENV FF_APP_KEY=SomeRandomStringOf32CharsExactly
66ENV FF_APP_ENV=production
77
8+ COPY entrypoint.sh /
9+
810RUN apk update && apk add --no-cache \
911 php7 \
1012 php7-fpm \
@@ -25,12 +27,9 @@ RUN apk update && apk add --no-cache \
2527 supervisor \
2628 gettext \
2729 curl \
28- nginx
29-
30-
31- COPY entrypoint.sh /
32-
33- RUN mkdir -p /var/www/localhost/htdocs/firefly /run/nginx && \
30+ nginx \
31+ tzdata && \
32+ mkdir -p /var/www/localhost/htdocs/firefly /run/nginx && \
3433 curl -sSL https://github.com/firefly-iii/firefly-iii/archive/${FF_VERSION}.tar.gz | tar xz -C /var/www/localhost/htdocs/firefly --strip-components=1 && \
3534 cd /var/www/localhost/htdocs/firefly && \
3635 curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
@@ -39,8 +38,9 @@ RUN mkdir -p /var/www/localhost/htdocs/firefly /run/nginx && \
3938 find /var/www/localhost/htdocs/ -type f -exec chmod 660 {} \; && \
4039 chown -R nginx:nobody /var/www/localhost/htdocs/ && \
4140 chmod +x /entrypoint.sh
41+
4242
43- RUN mkdir -p /tmp/test && ln -s /var/www/localhost/htdocs/firefly/.env /tmp/test/.env
43+ RUN ln -s /tmp/test/.env /var/www/localhost/htdocs/firefly/.env
4444
4545COPY custom.conf /etc/nginx/conf.d/default.conf
4646COPY supervisord.conf /tmp/
You can’t perform that action at this time.
0 commit comments