Skip to content

Commit

Permalink
fix(precomputed): fix files write rights
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienMattiussi committed Oct 25, 2023
1 parent 9d5c979 commit e239fc2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ENV CYPRESS_CACHE_FOLDER=/app/.cache
ENV npm_config_cache=/app/.npm

RUN mkdir /app/upload && \
mkdir /app/webservice_temp && \
cp -n ./config/production-dist.js ./config/production.js && \
npm run build && \
npm cache clean --force && \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ENV CYPRESS_CACHE_FOLDER=/app/.cache
ENV npm_config_cache=/app/.npm

RUN mkdir /app/upload && \
mkdir /app/webservice_temp && \
cp -n ./config/production-dist.js ./config/production.js && \
npm run build

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
WORKERS_URL: 'http://localhost:31976'
volumes:
- ./upload:/app/upload
- ./webservice_temp:/app/webservice_temp
links:
- mongo
ports:
Expand Down

0 comments on commit e239fc2

Please sign in to comment.