Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -40,10 +40,12 @@ RUN pip install torch torchvision torchaudio --extra-index-url https://download.
|
|
| 40 |
|
| 41 |
RUN chown -R appuser:appuser /app
|
| 42 |
|
|
|
|
|
|
|
| 43 |
# delete redundant requirements.txt and sd-scripts directory within the container
|
| 44 |
-
RUN cd ..
|
| 45 |
-
RUN rm -r ./sd-scripts
|
| 46 |
-
RUN rm ./requirements.txt
|
| 47 |
|
| 48 |
#Run application as non-root
|
| 49 |
USER appuser
|
|
|
|
| 40 |
|
| 41 |
RUN chown -R appuser:appuser /app
|
| 42 |
|
| 43 |
+
RUN pwd
|
| 44 |
+
|
| 45 |
# delete redundant requirements.txt and sd-scripts directory within the container
|
| 46 |
+
#RUN cd ..
|
| 47 |
+
#RUN rm -r ./sd-scripts
|
| 48 |
+
#RUN rm ./requirements.txt
|
| 49 |
|
| 50 |
#Run application as non-root
|
| 51 |
USER appuser
|