-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: docker setup and build of Excalidraw app #7502
base: master
Are you sure you want to change the base?
fix: docker setup and build of Excalidraw app #7502
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@dwelle is there anything missing in this PR or how can I help to get it merged? Docker ist currently broken with the existing setup. I guess it would also help developers, if the docker setup is working. |
@JannikStreek I tried to run your PR but it does not work for me. I did the following steps:
errno: -2, |
…s wanted in excalidraw or if this should be configurable
@JannikStreek is attempting to deploy a commit to the Excalidraw Team on Vercel. A member of the Team first needs to authorize it. |
@lazyWombat Indeed, thanks for the feedback. I already solved this on my other working branch but took out these changes here, as they are changing the excalidraw configuration of the app. But without these changes it's not working out of the box. My last commit should make it work, can you test it again? |
Hi! Can you explain a bit more what's going on here? I assume the idea is to use If so, then let's add a |
@dwelle Sure. In essence, my goal in this PR is to fix the docker setup as it's broken and doesn't work anymore (Development + Production). I think both environments are important as many developers leverage docker to ease their setup. For the development case, yes with My last remark that you quoted specifically was targeted at the following commit 92700c7 In this commit, I configured a host and disabled spawning a browser window as this isn't working from within docker (no browser installed). Now this changes the setup for people working without docker. As you said, adding something like |
Changed the pr accordingly, its now |
@@ -0,0 +1,17 @@ | |||
import { defineConfig, mergeConfig, loadEnv } from "vite"; | |||
import viteConfig from "./vite.config.mts"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ad1992 do we need to write vite configs in typescript (we can style typecheck them in vscode)? Or what's the workaround for this other than using mjs
files.
Yeah I was just asking specifically about the Vite config changes :p, I get the general idea of this PR — which btw we're thankful for (and sorry for the delay)! Ok, we'll just need to figure out a way around the |
…own ENOENT: no such file or directory, open '/opt/node_app/excalidraw-app/build/assets/edges-49ac43a2-gxb4Lw_d.js'
…ocker problem and there is a specific command for docker
👍 no worries. I changed it to |
Just an FYI, #7430 also covers fixing the build. Mostly commenting so that the multiple PR's are linked so the best route forward can be merged. |
Why isn't this merged yet? |
Fixes #7464