Skip to content

Commit 1acb8a9

Browse files
authored
Update Dockerfile
1 parent a958af1 commit 1acb8a9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,19 @@ RUN apk update && apk add --no-cache \
2828
nginx
2929

3030

31+
COPY entrypoint.sh /
32+
3133
RUN mkdir -p /var/www/localhost/htdocs/firefly /run/nginx && \
3234
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 && \
3335
cd /var/www/localhost/htdocs/firefly && \
3436
curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
3537
composer install --prefer-dist --no-dev --no-scripts && \
3638
find /var/www/localhost/htdocs/ -type d -exec chmod 770 {} \; && \
3739
find /var/www/localhost/htdocs/ -type f -exec chmod 660 {} \; && \
38-
chown -R nginx:nobody /var/www/localhost/htdocs/
40+
chown -R nginx:nobody /var/www/localhost/htdocs/ && \
41+
chmod +x /entrypoint.sh
3942

4043

41-
COPY entrypoint.sh /
4244
COPY custom.conf /etc/nginx/conf.d/default.conf
4345
COPY supervisord.conf /tmp/
4446

0 commit comments

Comments
 (0)