add dockerfile
This commit is contained in:
parent
af8480afb5
commit
8b45c51ac9
2 changed files with 7 additions and 0 deletions
6
Dockerfile
Normal file
6
Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
|||
FROM node:22-alpine
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
RUN npm install
|
||||
CMD npm run start
|
||||
EXPOSE 3000
|
|
@ -4,6 +4,7 @@
|
|||
"description": "my server",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node index.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "",
|
||||
|
|
Loading…
Reference in a new issue