You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
286 B

  1. FROM node:20-alpine
  2. ARG NPM_REGISTRY=https://registry.npmjs.org
  3. WORKDIR /app
  4. ENV NODE_ENV=production
  5. COPY emp_ws/package*.json ./
  6. RUN npm config set registry "$NPM_REGISTRY" \
  7. && npm install --omit=dev
  8. COPY emp_ws ./
  9. RUN mkdir -p runtime
  10. EXPOSE 3000
  11. CMD ["node", "server.js"]