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-12-21 20:23:40 +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-12-21 20:23:40 +00:00
|
|
|
RUN ./install.sh
|
2023-09-22 11:38:32 +00:00
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
EXPOSE 9090
|
|
|
|
|
|
|
|
CMD ["npm", "start"]
|