mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-06 07:03:18 +08:00
Update Dockerfile.prod
This commit is contained in:
parent
4f1e842b7c
commit
8976b21a7f
@ -14,9 +14,9 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
# install system dependencies
|
# install system dependencies
|
||||||
RUN apt-get update && apt-get -y install build-essential \
|
# RUN apt-get update && apt-get -y install build-essential \
|
||||||
&& apt-get clean \
|
# && apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
# && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# install python dependencies
|
# install python dependencies
|
||||||
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pipenv && rm -rf ~/.cache/pip
|
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pipenv && rm -rf ~/.cache/pip
|
||||||
@ -57,10 +57,10 @@ ENV ENVIRONMENT=prod
|
|||||||
ENV TESTING=0
|
ENV TESTING=0
|
||||||
|
|
||||||
# install system dependencies
|
# install system dependencies
|
||||||
RUN apt-get update \
|
# RUN apt-get update \
|
||||||
&& apt-get -y install build-essential \
|
# && apt-get -y install build-essential \
|
||||||
&& apt-get clean \
|
# && apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
#&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# install python dependencies
|
# install python dependencies
|
||||||
COPY --from=builder /usr/src/app/Pipfile .
|
COPY --from=builder /usr/src/app/Pipfile .
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user