create tmp and logs folder and make it accessable, normally composer script does that, but it didn't seems to work inside docker

This commit is contained in:
einhornimmond 2021-02-17 20:27:22 +01:00
parent 4d2308eb8a
commit 7780bdc3c6

View File

@ -6,7 +6,8 @@ RUN apt-get update \
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
WORKDIR /var/www/cakephp
RUN mkdir logs && mkdir tmp && chmod 777 logs && chmod 777 tmp
COPY ./community_server/ .
COPY ./configs/community_server/app.php ./config/
RUN composer update