ecomm/Dockerfile

14 lines
141 B
Docker
Raw Normal View History

2023-06-10 22:22:34 +00:00
FROM node:14-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --production
COPY . .
EXPOSE 3000
CMD ["node", "dist/index.js"]