nodbot/Dockerfile

8 lines
140 B
Docker
Raw Normal View History

2023-04-09 16:20:17 +00:00
FROM node:18
2022-03-05 04:29:38 +00:00
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
2023-04-09 16:20:17 +00:00
COPY src/package.json ./
2022-03-05 04:29:38 +00:00
RUN npm install
2023-04-09 16:20:17 +00:00
COPY ./src .
CMD [ "node", "main.js" ]