Browse Source

build: stops ignoring .env files from docker context so env variables get set during react app build. (#5809)

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
Pritam Sangani 2 years ago
parent
commit
e1c5c706c6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .dockerignore

+ 2 - 1
.dockerignore

@@ -1,5 +1,6 @@
 *
-!.env
+!.env.development
+!.env.production
 !.eslintrc.json
 !.npmrc
 !.prettierrc