2023-01-23 22:11:01 +00:00
|
|
|
FROM node:18
|
2023-01-18 00:35:24 +00:00
|
|
|
RUN mkdir -p /usr/src/app
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
|
|
COPY package.json ./
|
|
|
|
RUN npm install
|
|
|
|
COPY . .
|
2023-05-08 13:07:44 +00:00
|
|
|
# CMD ["/bin/sh", "-c", "node main.js 2> /logs/silvanus.err 1> /logs/silvanus.log"]
|
2023-05-08 13:46:21 +00:00
|
|
|
CMD ["/bin/sh", "-c", "node main.js 2> /logs/silvanus-stderr-$(date +%Y-%m-%d_%H-%M-%S).log 1> /logs/silvanus-stdout-$(date +%Y-%m-%d_%H-%M-%S).log"]
|