fix(docker): handle .env file to read frontend vars during build easily (#513)

- Remove api/.env and .env from .dockerignore file
- Add COPY .env .env to Dockerfile to copy .env file to docker build
- Add RUN rm .env to Dockerfile to remove .env file after build
- Remove build args from docker-compose.yml file
This commit is contained in:
Danny Avila 2023-06-13 12:12:27 -04:00 committed by GitHub
parent 9d3e749104
commit 821b507e0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 13 deletions

View file

@ -1,4 +1,2 @@
**/node_modules
api/.env
.env
client/dist/images