You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
277 B
14 lines
277 B
2 years ago
|
FROM python:3.10.5
|
||
|
|
||
|
LABEL MAINTAINER="XIAOMING"
|
||
|
# scp ./* 容器:/webapp/
|
||
|
COPY . /webapp
|
||
|
|
||
|
# cd /webapp
|
||
|
WORKDIR /webapp
|
||
|
|
||
|
RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
|
||
|
EXPOSE 8000
|
||
|
COPY ./docker-entrypoint.sh /
|
||
|
CMD ["sh", "/docker-entrypoint.sh" ]
|