You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
args: # We need to use arguments to pass env variables defined in client.prod.env passed as --env-file argument in docker compose command to be used during the docker image build.
NODE_ENV_ARG: ${NODE_ENV}
REACT_APP_API_URL_ARG: ${REACT_APP_API_URL}
ports:
- "3000:3000"
restart: always
server-prod:
build:
context: ./server
dockerfile: Dockerfile
depends_on:
- mongo-prod
env_file:
- server.prod.env # Thise are runtime env variables that do not require to be used during docker image build.