You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ADD package.json /tmp/package.json
RUN cd /tmp && npm install && npm install lodash --save-dev
RUN cp -a /tmp/node_modules /dokomo/
why are you building node_modules in /tmp and then copy it back instead of just doing it in its folder
RUN cp -r /dokomo/dokomoforms/static/dist /var/www/static
RUN cp /dokomo/dokomoforms/static/robots.txt /var/www/static/robots.txt
RUN cp /dokomo/dokomoforms/static/manifest.json /var/www/static/manifest.json
RUN cp /dokomo/dokomoforms/static/src/common/img/favicon.png /var/www/static/favicon.png
.. at least it's confusing, here's its full glory
why are you building
node_modules
in /tmp and then copy it back instead of just doing it in its folderhave you heard of the
COPY
command? use that will cache better via dockerhttps://docs.docker.com/engine/reference/builder/#copy
The text was updated successfully, but these errors were encountered: