Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -16,7 +16,7 @@ WORKDIR $HOME/app
|
|
| 16 |
COPY --chown=user requirements.txt .
|
| 17 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 18 |
|
| 19 |
-
COPY --chown=user . .
|
| 20 |
|
| 21 |
# Make the start script executable
|
| 22 |
RUN chmod +x start.sh
|
|
@@ -25,4 +25,4 @@ RUN chmod +x start.sh
|
|
| 25 |
EXPOSE 7860
|
| 26 |
EXPOSE 8501
|
| 27 |
|
| 28 |
-
CMD ["./start.sh"]
|
|
|
|
| 16 |
COPY --chown=user requirements.txt .
|
| 17 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 18 |
|
| 19 |
+
COPY --chown=user . . # This copies all files from your current directory to /home/user/app
|
| 20 |
|
| 21 |
# Make the start script executable
|
| 22 |
RUN chmod +x start.sh
|
|
|
|
| 25 |
EXPOSE 7860
|
| 26 |
EXPOSE 8501
|
| 27 |
|
| 28 |
+
CMD ["./start.sh"]
|