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-07 20:17:47 +00:00
|
|
|
COPY resources/package.json resources/package-lock.json resources/tsconfig.json resources/install.sh resources/src resources/install_functions.sh ./
|
2023-09-22 11:38:32 +00:00
|
|
|
|
2023-12-07 20:17:47 +00:00
|
|
|
RUN DEBIAN_FRONTEND=noninteractive DEBCONF_NOWARNINGS=yes ./install.sh
|
2023-09-22 11:38:32 +00:00
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
EXPOSE 9090
|
|
|
|
|
|
|
|
CMD ["npm", "start"]
|