Skip to content
Snippets Groups Projects
Commit 9836271d authored by Antoine Gaudron-Desjardins's avatar Antoine Gaudron-Desjardins
Browse files

fix port problem

parent 43c73f4c
No related branches found
No related tags found
1 merge request!20Clean docker compose
Pipeline #43808 passed
......@@ -149,8 +149,8 @@ lint:
docker-compose up -d &&
exit" ; else
- cd ./frontend
# - echo 'REACT_APP_BASE_URL_BACK="http://localhost:8000/api"' > .env;
# - echo 'REACT_APP_BASE_URL_FRONT="http://eatfast.cs-campus.fr"' >> .env;
- echo 'REACT_APP_BASE_URL_BACK="http://eatfast.cs-campus.fr/api"' > .env;
- echo 'REACT_APP_BASE_URL_FRONT="http://eatfast.cs-campus.fr"' >> .env;
- npm install && npm run build
- scp -r build/ eatfast@"$DOMAIN":/var/www/eatfast-website/frontend ; fi
......
......@@ -25,7 +25,7 @@ services:
condition: service_healthy
restart: always
ports:
- 80:80
- 8000:80
env_file: .env
environment:
DB_HOST: db
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment