add dockerfile
Build-Deploy-Actions
Details
Build-Deploy-Actions
Details
This commit is contained in:
parent
e0f3566f42
commit
213510205e
|
@ -0,0 +1,10 @@
|
||||||
|
FROM python:3.8.13
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
|
||||||
|
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
|
CMD ["python", "app.py"]
|
Loading…
Reference in New Issue