forked from ci4s/aim-proxy
17 lines
336 B
Docker
17 lines
336 B
Docker
FROM 172.20.32.187/pipeline-service/aimstack/aim:3.19.0
|
|
|
|
ARG http_proxy
|
|
ARG https_proxy
|
|
|
|
ENV http_proxy=${http_proxy}
|
|
ENV https_proxy=${https_proxy}
|
|
WORKDIR /app
|
|
|
|
RUN pip install httpx -i https://pypi.tuna.tsinghua.edu.cn/simple
|
|
|
|
ENV http_proxy=""
|
|
ENV https_proxy=""
|
|
|
|
COPY aim_proxy.py /app/server.py
|
|
|
|
ENTRYPOINT ["python", "server.py"] |