diff --git a/Dockerfile b/Dockerfile index bd38354..778f062 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,7 @@ -FROM node:16-alpine +FROM node:18-bullseye-slim + +RUN apt-get update && apt-get install -y make g++ python3 +RUN ln -sf /usr/bin/python3 /usr/bin/python RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app WORKDIR /home/node/app diff --git a/docker-compose.yml b/docker-compose.yml index 787fa86..c78b2fd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,33 +1,14 @@ version: "3.8" services: - excalidraw: - image: kiliandeca/excalidraw - healthcheck: - disable: true - ports: - - "80:80" - environment: - BACKEND_V2_GET_URL: http://localhost:8080/api/v2/scenes/ - BACKEND_V2_POST_URL: http://localhost:8080/api/v2/scenes/ - LIBRARY_URL: https://libraries.excalidraw.com - LIBRARY_BACKEND: https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries - SOCKET_SERVER_URL: http://localhost:5001/ - STORAGE_BACKEND: "http" - HTTP_STORAGE_BACKEND_URL: "http://localhost:8080/api/v2" - excalidraw-storage-backend: build: . + tty: true + stdin_open: true ports: - "8080:8080" environment: STORAGE_URI: redis://redis:6379 - - excalidraw-room: - image: excalidraw/excalidraw-room - ports: - - "5001:80" - redis: image: redis ports: