Spaces:
Running
Running
Commit
·
f23aa3b
1
Parent(s):
9fd1483
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -19,10 +19,10 @@ RUN pip install --no-cache-dir --upgrade pip
|
|
| 19 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 20 |
COPY --chown=user . $HOME/app
|
| 21 |
|
| 22 |
-
COPY requirements.txt .
|
| 23 |
|
| 24 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 25 |
|
| 26 |
-
COPY app.py app.py
|
| 27 |
|
| 28 |
ENTRYPOINT ["solara", "run", "app.py", "--host=0.0.0.0", "--port", "7860"]
|
|
|
|
| 19 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 20 |
COPY --chown=user . $HOME/app
|
| 21 |
|
| 22 |
+
COPY --chown=user requirements.txt .
|
| 23 |
|
| 24 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 25 |
|
| 26 |
+
COPY --chown=user app.py app.py
|
| 27 |
|
| 28 |
ENTRYPOINT ["solara", "run", "app.py", "--host=0.0.0.0", "--port", "7860"]
|