fix --> development dockerFi;e
This commit is contained in:
@@ -12,10 +12,13 @@ ENV PYTHONDONTWRITEBYTECODE 1
|
|||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
|
ENV TZ="Asia/Tehran"
|
||||||
|
RUN pip config --user set global.index https://mirror-pypi.runflare.com/simple
|
||||||
|
RUN pip config --user set global.index-url https://mirror-pypi.runflare.com/simple
|
||||||
|
RUN pip config --user set global.trusted-host mirror-pypi.runflare.com
|
||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
COPY ./requirements.txt .
|
COPY ./requirements.txt .
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
pip install --no-cache-dir -r requirements.txt
|
|
||||||
|
|
||||||
# copy project
|
# copy project
|
||||||
COPY . /app/
|
COPY . /app/
|
||||||
|
|||||||
Reference in New Issue
Block a user