update docker file
This commit is contained in:
@ -53,3 +53,6 @@ RUN pip install -r requirements.txt
|
|||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
||||||
|
COPY wait-for-it.sh /wait-for-it.sh
|
||||||
|
RUN chmod +x /wait-for-it.sh
|
||||||
|
|
||||||
|
|||||||
@ -6,6 +6,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.gdal
|
dockerfile: Dockerfile.gdal
|
||||||
command: python3 manage.py runserver 0.0.0.0:8100
|
command: python3 manage.py runserver 0.0.0.0:8100
|
||||||
|
command: /wait-for-it.sh db:5432
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user