Adityadn commited on
Commit
4c01549
·
verified ·
1 Parent(s): 6947777

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -29
Dockerfile DELETED
@@ -1,29 +0,0 @@
1
- FROM nvidia/cuda:12.3.1-base-ubuntu22.04
2
- ENV DEBIAN_FRONTEND noninteractive
3
- ENV CMDARGS --listen
4
-
5
- RUN apt-get update -y && \
6
- apt-get install -y curl libgl1 libglib2.0-0 python3-pip python-is-python3 git && \
7
- apt-get clean && \
8
- rm -rf /var/lib/apt/lists/*
9
-
10
- COPY requirements_docker.txt requirements_versions.txt /tmp/
11
- RUN pip install --no-cache-dir -r /tmp/requirements_docker.txt -r /tmp/requirements_versions.txt && \
12
- rm -f /tmp/requirements_docker.txt /tmp/requirements_versions.txt
13
- RUN pip install --no-cache-dir xformers==0.0.22 --no-dependencies
14
- RUN curl -fsL -o /usr/local/lib/python3.10/dist-packages/gradio/frpc_linux_amd64_v0.2 https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64 && \
15
- chmod +x /usr/local/lib/python3.10/dist-packages/gradio/frpc_linux_amd64_v0.2
16
-
17
- RUN adduser --disabled-password --gecos '' user && \
18
- mkdir -p /content/app /content/data
19
-
20
- COPY entrypoint.sh /content/
21
- RUN chown -R user:user /content
22
-
23
- WORKDIR /content
24
- USER user
25
-
26
- RUN git clone https://github.com/lllyasviel/Fooocus /content/app
27
- RUN mv /content/app/models /content/app/models.org
28
-
29
- CMD [ "sh", "-c", "/content/entrypoint.sh ${CMDARGS}" ]