Commit Graph

5 Commits (baf3ab7d81ce7fca454c90fc9fa887431d7b665f)

Author SHA1 Message Date
Pritam Sangani e1c5c706c6
build: stops ignoring .env files from docker context so env variables get set during react app build. ()
build: stops ignoring .env.development and .env.production files from docker context so env variables get set during react app build.
* this fixes the issue where Browse Libraries button link was broken in
  docker/self-hosted versions of excalidraw
Lipis baf9da2b83
chore: Update action versions and docker build ()
Guillaume Grossetie 5b63371c14
Fix docker build ()
* .eslintrc.json is required to build using react-scripts

* Remove the extra "deps" step

This step can be done as part of the build (faster and more reliable).

* Add a GitHub Actions to build the Docker image

Make sure that "docker build" is working on every pull request before landing on master.

* Update package-lock.json

* Add .prettierrc in the Docker image to avoid warnings in the build step

* Revert "Update package-lock.json"

This reverts commit 7ef2eaadfa.

* Make sure that the 'node_modules' layer can be cached

if package and package-lock.json didn't changed
Minh Nguyen f9793835e6
Restore missing env vars in Docker image ()
Niko Heikkilä 4369d88898
feat: add option for self-hosting via Docker ()