From 809ad9fdb61995b2e6e24f531d7cfec3eb0fbd4e Mon Sep 17 00:00:00 2001 From: AlexTheGeek <28763288+AlexTheGeek@users.noreply.github.com> Date: Thu, 1 Feb 2024 15:53:53 +0100 Subject: [PATCH] better docker --- Dockerfile | 2 +- README.md | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0cc3bb5..b977275 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ WORKDIR /app COPY . /app # Partie variable d'environnement URLs -ENV URL_API="https://api.insa-cvl.com" +ENV URL_API=https://api.insa-cvl.com EXPOSE 5000 diff --git a/README.md b/README.md index d777b98..acbdcd1 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ services: ports: - "5000:5000" environment: - - URL_API="https://api.insa-cvl.com/" + - URL_API=https://api.insa-cvl.com restart: always ``` 3. check the logs : `docker logs vdi-app` or `docker-compose logs -f` diff --git a/docker-compose.yml b/docker-compose.yml index 440b285..513877b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,5 +7,5 @@ services: ports: - "5000:5000" environment: - - URL_API="https://api.insa-cvl.com/" + - URL_API=https://api.insa-cvl.com restart: always \ No newline at end of file