nodbot/Dockerfile
Skylar Grant 3be90aef30
Some checks failed
NodBot Production Dockerization / build (push) Failing after 0s
Update node version in docker
2024-09-22 12:20:13 -04:00

8 lines
186 B
Docker

FROM node:20
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json ./
RUN npm install
COPY . .
CMD ["/bin/sh", "-c", "node main.js 2> /logs/nodbot.error 1> /logs/nodbot.log"]