silvanus/Dockerfile

8 lines
132 B
Docker
Raw Normal View History

2023-01-18 00:35:24 +00:00
FROM node:16
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json ./
RUN npm install
COPY . .
CMD [ "node", "main.js" ]