Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -16,6 +16,9 @@ ENV PATH=$JAVA_HOME/bin:$PATH
|
|
16 |
COPY . /app
|
17 |
WORKDIR /app
|
18 |
|
|
|
|
|
|
|
19 |
# Expose the port Streamlit runs on
|
20 |
EXPOSE 7860
|
21 |
|
|
|
16 |
COPY . /app
|
17 |
WORKDIR /app
|
18 |
|
19 |
+
# Create the saved_models directory and set permissions
|
20 |
+
RUN mkdir -p /app/saved_models && chmod 777 /app/saved_models
|
21 |
+
|
22 |
# Expose the port Streamlit runs on
|
23 |
EXPOSE 7860
|
24 |
|