14 lines
347 B
Docker
14 lines
347 B
Docker
# pull official base image
|
|
FROM private_ai:base
|
|
|
|
ENV APP_CACHE /app/cache
|
|
# set work dir
|
|
WORKDIR /app
|
|
#RUN mkdir /app/cache
|
|
COPY . .
|
|
# isntall dependencies
|
|
RUN pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple
|
|
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
|
# run
|
|
ENTRYPOINT python http_test.py
|