File size: 385 Bytes
1e66485
 
1d9ec1d
1e66485
 
 
1d9ec1d
1e66485
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Dockerfile Public T4

FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel
ENV DEBIAN_FRONTEND noninteractive

WORKDIR /content
RUN pip install numexpr einops transformers k_diffusion safetensors gradio diffusers xformers

ADD . .
RUN adduser --disabled-password --gecos '' user
RUN chown -R user:user /content
RUN chmod -R 777 /content
USER user

EXPOSE 7860
CMD python /content/app.py