Spaces:
Running
Running
tomas-gajarsky
commited on
Commit
·
5200001
1
Parent(s):
b723189
Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
@@ -2,14 +2,13 @@ FROM python:3.9.12-slim
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
-
COPY
|
6 |
-
COPY ./config.merged.yml $WORKDIR/config.merged.yml
|
7 |
|
8 |
RUN pip install gradio --no-cache-dir
|
9 |
RUN pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
|
10 |
|
11 |
-
COPY
|
12 |
|
13 |
EXPOSE 7860
|
14 |
|
15 |
-
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
COPY requirements.txt $WORKDIR/requirements.txt
|
|
|
6 |
|
7 |
RUN pip install gradio --no-cache-dir
|
8 |
RUN pip install --no-cache-dir --upgrade -r $WORKDIR/requirements.txt
|
9 |
|
10 |
+
COPY . .
|
11 |
|
12 |
EXPOSE 7860
|
13 |
|
14 |
+
ENTRYPOINT ["python", "app.py"]
|