Muhammad Abdur Rahman Saad
commited on
Commit
·
d8e4f29
1
Parent(s):
da6f433
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -23,6 +23,9 @@ RUN python /download_model.py
|
|
23 |
# Remove the download script (optional)
|
24 |
RUN rm /download_model.py
|
25 |
|
|
|
|
|
|
|
26 |
# Make port 7860 available to the world outside this container
|
27 |
EXPOSE 7860
|
28 |
|
|
|
23 |
# Remove the download script (optional)
|
24 |
RUN rm /download_model.py
|
25 |
|
26 |
+
# Create the data directory and set permissions
|
27 |
+
RUN mkdir -p /app/data && chmod 777 /app/data
|
28 |
+
|
29 |
# Make port 7860 available to the world outside this container
|
30 |
EXPOSE 7860
|
31 |
|