hf_fully_body_anime_gan/full_body_anime_gan/Dockerfile

20 lines
557 B
Docker
Raw Normal View History

2023-04-04 03:08:04 +00:00
# please visit https://github.com/xfyun/aiges/releases to get stable and suitable iamges.
2023-04-04 07:06:17 +00:00
FROM public.ecr.aws/iflytek-open/cuda-go-python-base:11.6-1.17-3.9.13-ubuntu1804
2023-04-04 03:08:04 +00:00
WORKDIR /home/user/app
RUN useradd -m -u 1000 user
2023-04-04 07:53:37 +00:00
RUN chown -R 1000.1000 /home/userF
2023-04-04 03:08:04 +00:00
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"]