1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

(bug) unable to compile the assets: EACCES: permission denied, unlink '/usr/src/app/node_modules/.yarn-integrity'

This commit is contained in:
Sylvain 2022-06-23 11:34:16 +02:00
parent d03a34b894
commit d008159667

View File

@ -53,8 +53,8 @@ RUN mkdir -p /var/log/supervisor && \
mkdir -p /usr/src/app/tmp/pids && \
mkdir -p /usr/src/app/tmp/cache && \
mkdir -p /usr/src/app/log && \
chmod -R a+w /usr/src/app/tmp && \
chmod -R a+w /usr/src/app/log && \
mkdir -p /usr/src/app/node_modules && \
chmod -R a+w /usr/src/app && \
chmod -R a+w /var/run
# Install Javascript packages
@ -69,7 +69,8 @@ RUN apk del .build-deps && \
rm -rf /tmp/* \
/var/tmp/* \
/var/cache/apk/* \
/usr/lib/ruby/gems/*/cache/*
/usr/lib/ruby/gems/*/cache/* && \
chmod -R a+w /usr/src/app/node_modules
# Copy source files
COPY docker/database.yml /usr/src/app/config/database.yml