Added Dockerfile

This commit is contained in:
rpurdel 2022-09-15 11:33:16 +03:00 committed by GitHub
parent 7a9a9cb8ec
commit 4fdd3c371e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM node:16.17-slim
WORKDIR /excalidraw-backend
COPY package.json package-lock.json tsconfig.json src ./
RUN npm install
RUN npm run build
EXPOSE 80
EXPOSE 9090
CMD ["npm", "start"]