remove node modules before install

This commit is contained in:
Ed Chalstrey 2022-02-08 15:51:28 +00:00
parent e87a979a6b
commit 2ce2410c14

View File

@ -27,6 +27,7 @@ ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"
RUN npm install -g npm@latest RUN npm install -g npm@latest
WORKDIR ./colouring-london/app WORKDIR ./colouring-london/app
RUN rm -rf node_modules
RUN npm install RUN npm install
EXPOSE 8080 EXPOSE 8080