Commit ed612576 by xuxingxing

tmpcode

parent de761aef
Showing with 8 additions and 0 deletions
FROM registry.cn-shenzhen.aliyuncs.com/xcxiaoan/python:3.11.4-slim FROM registry.cn-shenzhen.aliyuncs.com/xcxiaoan/python:3.11.4-slim
RUN rm -rf /admin/app/* RUN rm -rf /admin/app/*
# Set the working directory in the container
WORKDIR /admin/app
COPY . /admin/app COPY . /admin/app
RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r /admin/app/requirements.txt RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r /admin/app/requirements.txt
# Make port 80 available to the world outside this container
EXPOSE 5001
CMD ["python3", "/admin/app/app.py" ] CMD ["python3", "/admin/app/app.py" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment