Skip to content

Commit cb320d3

Browse files
committed
fix: update Dockerfile for github action
1 parent e119163 commit cb320d3

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

docker/Dockerfile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,16 @@ RUN (crontab -l; echo "PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:
5151
RUN (crontab -l; echo "*/5 * * * * php /app/bin/console cron:server:check >> /var/log/cron.log 2>&1") | crontab
5252
RUN 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

0 commit comments

Comments
 (0)