docker: add dockerfile, format log
This commit is contained in:
parent
1564a110e0
commit
5e0fe8aa0c
3 changed files with 41 additions and 13 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM node:18
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
# If you are building your code for production
|
||||
# RUN npm ci --omit=dev
|
||||
|
||||
# Bundle app source
|
||||
COPY . .
|
||||
|
||||
#EXPOSE 8080
|
||||
|
||||
CMD [ "node", "index.js" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue