Commit 9e283283 authored by Nick Sellen's avatar Nick Sellen

Try and resolve npm/docker/aufs error

parent 38e4cbae
Pipeline #4741656 passed with stage
in 2 minutes and 34 seconds
......@@ -6,7 +6,12 @@ WORKDIR /app/chat
COPY package.json .
RUN npm install
RUN npm prune
# see https://github.com/npm/npm/issues/9863#issuecomment-255506533
RUN \
mkdir -p node_modules && \
mv node_modules node_modules.tmp && \
mv node_modules.tmp node_modules && \
npm install && \
npm prune
CMD ["node", "server.js"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment