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:
parent
d03a34b894
commit
d008159667
@ -53,8 +53,8 @@ RUN mkdir -p /var/log/supervisor && \
|
|||||||
mkdir -p /usr/src/app/tmp/pids && \
|
mkdir -p /usr/src/app/tmp/pids && \
|
||||||
mkdir -p /usr/src/app/tmp/cache && \
|
mkdir -p /usr/src/app/tmp/cache && \
|
||||||
mkdir -p /usr/src/app/log && \
|
mkdir -p /usr/src/app/log && \
|
||||||
chmod -R a+w /usr/src/app/tmp && \
|
mkdir -p /usr/src/app/node_modules && \
|
||||||
chmod -R a+w /usr/src/app/log && \
|
chmod -R a+w /usr/src/app && \
|
||||||
chmod -R a+w /var/run
|
chmod -R a+w /var/run
|
||||||
|
|
||||||
# Install Javascript packages
|
# Install Javascript packages
|
||||||
@ -69,7 +69,8 @@ RUN apk del .build-deps && \
|
|||||||
rm -rf /tmp/* \
|
rm -rf /tmp/* \
|
||||||
/var/tmp/* \
|
/var/tmp/* \
|
||||||
/var/cache/apk/* \
|
/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 source files
|
||||||
COPY docker/database.yml /usr/src/app/config/database.yml
|
COPY docker/database.yml /usr/src/app/config/database.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user