Docker added
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
node_modules
|
||||||
|
npm-debug.log
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
FROM node:18
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
COPY package*.json ./
|
||||||
|
RUN npm install
|
||||||
|
COPY . .
|
||||||
|
EXPOSE 8081
|
||||||
|
CMD [ "node", "server.js" ]
|
||||||
Reference in New Issue
Block a user