Difference between revisions of "Dockerfile examples"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 4: Line 4:
 
  WORKDIR /srv/app
 
  WORKDIR /srv/app
 
  COPY . .
 
  COPY . .
  RUN npm install --only=production
+
  RUN [[npm install --only=production]]
 
  ENTRYPOINT [ "npm", "start" ]
 
  ENTRYPOINT [ "npm", "start" ]
  

Revision as of 12:52, 11 June 2022

Advertising: