2023-09-22 11:38:32 +00:00
|
|
|
# Taken from: https://github.com/jitsi/excalidraw-backend
|
2023-11-30 20:31:52 +00:00
|
|
|
FROM node:20.10.0-bookworm-slim
|
2023-09-22 11:38:32 +00:00
|
|
|
|
|
|
|
WORKDIR /excalidraw-backend
|
|
|
|
|
2023-10-19 20:43:54 +00:00
|
|
|
COPY resources/package.json resources/package-lock.json resources/tsconfig.json resources/install.sh resources/src ./
|
2023-09-22 11:38:32 +00:00
|
|
|
|
2023-10-19 20:43:54 +00:00
|
|
|
RUN ./install.sh
|
2023-09-22 11:38:32 +00:00
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
EXPOSE 9090
|
|
|
|
|
|
|
|
CMD ["npm", "start"]
|