Update Dockerfile
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -47,7 +47,7 @@ RUN mkdir -p /images
|
|
47 |
RUN chown appuser /images
|
48 |
|
49 |
# Create the app.log file
|
50 |
-
RUN touch app.log
|
51 |
|
52 |
# Assign the ownership of app.log to appuser
|
53 |
RUN chown appuser app.log
|
@@ -69,6 +69,4 @@ EXPOSE 7860
|
|
69 |
EXPOSE 8501
|
70 |
|
71 |
# Run the application.
|
72 |
-
|
73 |
-
CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]
|
74 |
-
# CMD streamlit run BrainBot.py
|
|
|
47 |
RUN chown appuser /images
|
48 |
|
49 |
# Create the app.log file
|
50 |
+
RUN touch -p app.log
|
51 |
|
52 |
# Assign the ownership of app.log to appuser
|
53 |
RUN chown appuser app.log
|
|
|
69 |
EXPOSE 8501
|
70 |
|
71 |
# Run the application.
|
72 |
+
CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]
|
|
|
|