prepare for docker hosting

This commit is contained in:
Ubuntu
2023-09-03 11:16:38 +00:00
parent 171f2d02cc
commit 89989118e1
2 changed files with 17 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM node:18
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm ci --omit=dev
COPY . .
RUN npm run build
EXPOSE 3001
CMD [ "npm", "run", "startServer"]