add dockerfile
This commit is contained in:
parent
7283ab2c49
commit
cc43e3c3e9
|
@ -0,0 +1,5 @@
|
|||
node_modules
|
||||
.github
|
||||
.git*
|
||||
|
||||
*.md
|
|
@ -0,0 +1,13 @@
|
|||
FROM node:lts-alpine
|
||||
|
||||
WORKDIR /home/node/app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "index.js"]
|
Loading…
Reference in New Issue