Skip to content

Commit 34895c0

Browse files
committed
changes for build docker hub
1 parent 70a4fcd commit 34895c0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ RUN set -x \
2020
imagemagick \
2121
imagemagick-libs \
2222
imagemagick-dev \
23-
postgresql-dev \
24-
&& ln -sf /dev/stdout /var/log/nginx/access.log \
23+
postgresql-dev
24+
25+
RUN touch /var/log/nginx/access.log \
26+
&& touch /var/log/nginx/error.log
27+
28+
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
2529
&& ln -sf /dev/stderr /var/log/nginx/error.log
2630

2731
RUN apk add --update libzip-dev libmcrypt-dev libpng-dev libjpeg-turbo-dev libxml2-dev icu-dev curl-dev

0 commit comments

Comments
 (0)