1 Star 0 Fork 4

邱堂珂/cache-proxy

forked from 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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qiu-tangke/cache-proxy.git
[email protected]:qiu-tangke/cache-proxy.git
qiu-tangke
cache-proxy
cache-proxy
master

搜索帮助