Compare commits

..

3 Commits
dev ... main

Author SHA1 Message Date
46d86d2650 Update dockerfile refs 2024-01-01 15:28:54 -05:00
ac65c8a7b0 MVP 2024-01-01 14:28:22 -05:00
b3e2c9e736 Move & update 2024-01-01 13:55:49 -05:00
2 changed files with 8 additions and 8 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
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 src/main.js 2> /logs/$(date +%Y-%m-%d_%H-%M-%S)-error.txt 1> /logs/$(date +%Y-%m-%d_%H-%M-%S)-status.txt"]

View File

@ -1,8 +0,0 @@
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/$(date +%Y-%m-%d_%H-%M-%S)-error.txt 1> /logs/$(date +%Y-%m-%d_%H-%M-%S)-status.txt"]