update
This commit is contained in:
11
starting_kit/Dockerfile
Normal file
11
starting_kit/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM harbor.4pd.io/inf/base-python3.8-ubuntu:1.1.0
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
ADD ./requirements.txt /workspace
|
||||
RUN pip install -r ./requirements.txt -i https://nexus.4pd.io/repository/pypi-all/simple --trusted-host nexus.4pd.io --extra-index-url https://mirrors.aliyun.com/pypi/simple/ \
|
||||
&& pip cache purge
|
||||
|
||||
ADD . /workspace
|
||||
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user