소스 검색

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 년 전
부모
커밋
e1c5c706c6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      .dockerignore

+ 2 - 1
.dockerignore

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