12 Star 0 Fork 4

openEuler / cache-proxy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile_general 567 Bytes
一键复制 编辑 原始数据 按行查看 历史
邱堂珂 提交于 2023-07-03 02:37 . add Dockerfile_general.
# Use an official Python runtime as a parent image
FROM openeuler/openeuler:latest
WORKDIR /cache-proxy
# Add the current directory contents into the container at /cache-proxy
ADD . /cache-proxy
RUN yum install -y python3 python3-pip
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
RUN mkdir /tmp/.cache
# Install any needed packages specified in requirements.txt
# Make port 8000 available to the world outside this container
EXPOSE 8000
# Run main.py when the container launches
ENTRYPOINT python3 app/main.py
1
https://gitee.com/openeuler/cache-proxy.git
git@gitee.com:openeuler/cache-proxy.git
openeuler
cache-proxy
cache-proxy
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891