Commit 831e8c2d authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

further modified file permissions

parent 799ecc2e
...@@ -33,11 +33,10 @@ EXPOSE 80 ...@@ -33,11 +33,10 @@ EXPOSE 80
COPY config/nginx.conf /etc/nginx/nginx.conf COPY config/nginx.conf /etc/nginx/nginx.conf
COPY config/nginx-default.conf /etc/nginx/conf.d/default.conf COPY config/nginx-default.conf /etc/nginx/conf.d/default.conf
COPY . /html COPY --chown=1000:nginx . /html
RUN chmod -R g+w storage bootstrap/cache
CMD chmod -R 0777 /html/storage && \ CMD /etc/init.d/cron start && \
chmod -R 0777 /html/bootstrap/cache && \
/etc/init.d/cron start && \
/etc/init.d/php7.3-fpm start && \ /etc/init.d/php7.3-fpm start && \
/etc/init.d/nginx start && \ /etc/init.d/nginx start && \
/etc/init.d/redis-server start && \ /etc/init.d/redis-server start && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment