silvanus/Dockerfile
Skylar Grant dfef35dd95 Confusion
2023-02-19 14:13:03 -05:00

8 lines
185 B
Docker
Executable File

FROM node:18
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/error.log 1> /logs/silvanus.log"]