From d8d1568529a005c2b915805974686632897eb8aa Mon Sep 17 00:00:00 2001 From: Valentina Rubane Date: Tue, 18 May 2021 19:31:36 +0200 Subject: [PATCH] build context updated, so the docker-compose can run as well on windows --- .gitignore | 2 ++ docker-compose.dev.yaml | 2 +- docker-compose.pro.yaml | 2 +- docker-compose.staging.yaml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bfa0621 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ + +.idea/* diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml index 580ae3a..bb936f0 100644 --- a/docker-compose.dev.yaml +++ b/docker-compose.dev.yaml @@ -15,7 +15,7 @@ services: django: build: - context: . + context: ./ dockerfile: ./Dockerfiles/django/Dockerfile restart: unless-stopped entrypoint: /django-launcher.dev.sh diff --git a/docker-compose.pro.yaml b/docker-compose.pro.yaml index 80e24c7..29fd7e6 100644 --- a/docker-compose.pro.yaml +++ b/docker-compose.pro.yaml @@ -14,7 +14,7 @@ services: - 5432 django: - build: . + build: ./ restart: always entrypoint: /django-launcher.pro.sh volumes: diff --git a/docker-compose.staging.yaml b/docker-compose.staging.yaml index a6b2a09..733f82b 100644 --- a/docker-compose.staging.yaml +++ b/docker-compose.staging.yaml @@ -14,7 +14,7 @@ services: - 5432 django: - build: . + build: ./ restart: always entrypoint: /django-launcher.dev.sh volumes: