image_to_image/ArcaneGAN/Dockerfile

21 lines
557 B
Docker
Raw Normal View History

2023-04-04 11:10:46 +08:00
# please visit https://github.com/xfyun/aiges/releases to get stable and suitable iamges.
2023-04-04 15:54:51 +08:00
FROM public.ecr.aws/iflytek-open/cuda-go-python-base:11.6-1.17-3.9.13-ubuntu1804
2023-04-04 11:10:46 +08:00
WORKDIR /home/user/app
RUN useradd -m -u 1000 user
RUN chown -R 1000.1000 /home/user
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple/
RUN pip install --no-cache-dir pip==22.3.1
RUN --mount=target=requirements.txt,source=requirements.txt pip install --no-cache-dir -r requirements.txt
COPY --chown=1000 ./ /home/user/app
CMD ["python3", "app.py"]