Added Dockerfile
This commit is contained in:
parent
7a9a9cb8ec
commit
4fdd3c371e
1 changed files with 12 additions and 0 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue