Skip to content

Commit

Permalink
Change permission on docker file to ensure npm loads packages
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados committed Jun 17, 2024
1 parent 8ecef6f commit 2e1b4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ USER morphodict
WORKDIR /app/

# Install Python and NodeJS dependencies
ADD Pipfile Pipfile.lock package.json package-lock.json /app/
ADD --chown=morphodict Pipfile Pipfile.lock package.json package-lock.json /app/
# On Andrew’s linux machine, docker builds were sometimes ridiculously slow
# without this option. npm would try to download/install(?) too many packages
# all at once and some sort of resource would get exhausted leading to hangs.
Expand Down

0 comments on commit 2e1b4bf

Please # to comment.