fix --> development dockerFi;e
This commit is contained in:
@@ -12,10 +12,13 @@ ENV PYTHONDONTWRITEBYTECODE 1
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
# 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
|
||||
COPY ./requirements.txt .
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
pip install --no-cache-dir -r requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# copy project
|
||||
COPY . /app/
|
||||
|
||||
Reference in New Issue
Block a user