fix build and update deps

This commit is contained in:
Jannik Streek 2023-02-09 17:21:25 +01:00
parent 7bf611f1c9
commit 62c11246a5
2 changed files with 6 additions and 22 deletions

View File

@ -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 RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
WORKDIR /home/node/app WORKDIR /home/node/app

View File

@ -1,33 +1,14 @@
version: "3.8" version: "3.8"
services: 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: excalidraw-storage-backend:
build: . build: .
tty: true
stdin_open: true
ports: ports:
- "8080:8080" - "8080:8080"
environment: environment:
STORAGE_URI: redis://redis:6379 STORAGE_URI: redis://redis:6379
excalidraw-room:
image: excalidraw/excalidraw-room
ports:
- "5001:80"
redis: redis:
image: redis image: redis
ports: ports: