docker file & docker compose change
This commit is contained in:
@@ -7,7 +7,11 @@ RUN apt-get update && apt-get install -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements/base.txt requirements/base.txt
|
||||
RUN pip install --no-cache-dir -r requirements/base.txt
|
||||
|
||||
RUN pip install --no-cache-dir \
|
||||
--proxy http://host.docker.internal:10808 \
|
||||
--timeout 120 \
|
||||
-r requirements/base.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ services:
|
||||
build: .
|
||||
command: uvicorn config.asgi:application --host 0.0.0.0 --port 8000 --reload
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8001:8000"
|
||||
env_file: .env
|
||||
volumes:
|
||||
- .:/app
|
||||
|
||||
Reference in New Issue
Block a user