File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,14 +51,16 @@ RUN (crontab -l; echo "PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:
5151RUN (crontab -l; echo "*/5 * * * * php /app/bin/console cron:server:check >> /var/log/cron.log 2>&1" ) | crontab
5252RUN touch /var/log/cron.log
5353
54+ # Clean folders
55+ # RUN rm -rf /app/vendor && \
56+ # rm -rf /app/node_modules && \
57+ # rm -rf /app/.git && \
58+ # rm -rf /app/.env.local && \
59+ # chown -R 1000:1000 /app && \
60+ # chmod -R 777 /app/var
61+
5462# Run commands for image app
55- RUN rm -rf /app/vendor && \
56- rm -rf /app/node_modules && \
57- rm -rf /app/.git && \
58- rm -rf /app/.env.local && \
59- chown -R 1000:1000 /app && \
60- chmod -R 777 /app/var && \
61- cd /app && \
63+ RUN cd /app && \
6264 composer install --ignore-platform-reqs && \
6365 yarn && yarn encore prod
6466
You can’t perform that action at this time.
0 commit comments