docker: add dockerfile, format log

This commit is contained in:
bee! 2023-10-22 16:31:10 -07:00
parent 1564a110e0
commit 5e0fe8aa0c
No known key found for this signature in database
GPG key ID: A350C9117C864EB7
3 changed files with 41 additions and 13 deletions

16
Dockerfile Normal file
View 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" ]