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