Add Dockerfile and ignore some stuff

This commit is contained in:
3wc 2024-01-10 23:40:27 -03:00
parent 473a7bf844
commit 67a46826d0
3 changed files with 14 additions and 0 deletions

4
.dockerignore Normal file
View File

@ -0,0 +1,4 @@
*
!index.js
!package.json
!package.lock

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/node_modules/

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM node:21
WORKDIR /usr/src/app
COPY . /usr/src/app/
RUN npm install
CMD ["node", "index.js"]