Add Dockerfile and ignore some stuff
This commit is contained in:
parent
473a7bf844
commit
67a46826d0
|
@ -0,0 +1,4 @@
|
|||
*
|
||||
!index.js
|
||||
!package.json
|
||||
!package.lock
|
|
@ -0,0 +1 @@
|
|||
/node_modules/
|
|
@ -0,0 +1,9 @@
|
|||
FROM node:21
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY . /usr/src/app/
|
||||
|
||||
RUN npm install
|
||||
|
||||
CMD ["node", "index.js"]
|
Loading…
Reference in New Issue