|
@@ -9,8 +9,16 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|
# Turns off buffering for easier container logging
|
|
# Turns off buffering for easier container logging
|
|
ENV PYTHONUNBUFFERED=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
|
|
|
|
+# RUN mkdir -p ~/.pip
|
|
|
|
+# RUN echo '\n\
|
|
|
|
+# [global] \n\
|
|
|
|
+# trusted-host=mirrors.aliyun.com \n\
|
|
|
|
+# index-url=https://mirrors.aliyun.com/pypi/simple/ \n\
|
|
|
|
+# ' > ~/.pip/pip.conf
|
|
|
|
+
|
|
# Install pip requirements
|
|
# Install pip requirements
|
|
COPY requirements.txt .
|
|
COPY requirements.txt .
|
|
|
|
+
|
|
RUN python -m pip install -r requirements.txt
|
|
RUN python -m pip install -r requirements.txt
|
|
RUN python -m pip install pyinstaller
|
|
RUN python -m pip install pyinstaller
|
|
|
|
|