dockerfile, req update
This commit is contained in:
+2
-1
@@ -1,10 +1,11 @@
|
|||||||
FROM python:3.6-alpine
|
FROM python:3.9
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/app
|
RUN mkdir -p /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
COPY requirements.txt /usr/src/app/
|
COPY requirements.txt /usr/src/app/
|
||||||
|
|
||||||
|
# RUN pip install --upgrade pip
|
||||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
COPY . /usr/src/app
|
COPY . /usr/src/app
|
||||||
|
|||||||
+1
-1
@@ -4,5 +4,5 @@ python_dateutil == 2.6.0
|
|||||||
setuptools >= 21.0.0
|
setuptools >= 21.0.0
|
||||||
swagger-ui-bundle >= 0.0.2
|
swagger-ui-bundle >= 0.0.2
|
||||||
peewee==3.15.0
|
peewee==3.15.0
|
||||||
mariadb==1.1.3
|
mariadb==1.0.11
|
||||||
classla==1.1.0
|
classla==1.1.0
|
||||||
Reference in New Issue
Block a user