|
@@ -1,6 +1,7 @@
|
|
FROM python:3-slim
|
|
FROM python:3-slim
|
|
WORKDIR /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
COPY app/rest/requirements.txt ./
|
|
COPY app/rest/requirements.txt ./
|
|
-RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
+RUN python3 -m pip install --upgrade pip && \
|
|
|
|
+ python3 -m pip install --no-cache-dir -r requirements.txt
|
|
COPY app ./app
|
|
COPY app ./app
|
|
-CMD [ "python", "-m", "app.rest.pyapi" ]
|
|
|
|
|
|
+CMD [ "python", "-m", "app.rest.cherrypy" ]
|