restructure stuff, add logging, use node 20

This commit is contained in:
Aljaž Starc
2023-10-23 22:54:08 +02:00
parent acfa8461e5
commit 5323504a87
11 changed files with 16 additions and 18 deletions

11
dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:20-alpine
WORKDIR /app
COPY package.json yarn.lock /app/
RUN yarn install
COPY public/ views/ /app/
COPY index.js /app/
CMD [ "yarn", "run", "start" ]