Spaces:
Sleeping
Sleeping
making gradio only app
Browse files- Dockerfile +0 -22
- main.py → app.py +0 -0
Dockerfile
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
|
2 |
-
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
3 |
-
# you will also find guides on how best to write your Dockerfile
|
4 |
-
|
5 |
-
FROM python:3.9
|
6 |
-
|
7 |
-
# The two following lines are requirements for the Dev Mode to be functional
|
8 |
-
# Learn more about the Dev Mode at https://huggingface.co/dev-mode-explorers
|
9 |
-
RUN useradd -m -u 1000 user
|
10 |
-
WORKDIR /app
|
11 |
-
|
12 |
-
COPY --chown=user ./requirements.txt requirements.txt
|
13 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
-
|
15 |
-
COPY --chown=user . /app
|
16 |
-
|
17 |
-
USER user
|
18 |
-
|
19 |
-
ENV HOME=/home/user \
|
20 |
-
PATH=/home/user/.local/bin:$PATH
|
21 |
-
|
22 |
-
CMD ["python", "main.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main.py → app.py
RENAMED
File without changes
|