Update Dockerfile
Browse files46 unmodified lines4748495051525315 unmodified lines69707172737446 unmodified linesRUN chown appuser /images# Create the app.log fileRUN touch app.log# Assign the ownership of app.log to appuserRUN chown appuser app.log15 unmodified linesEXPOSE 8501# Run the application.# CMD uvicorn 'main:app' --host=0.0.0.0 --port=8000CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]# CMD streamlit run BrainBot.py46 unmodified lines4748495051525315 unmodified lines6970717246 unmodified linesRUN chown appuser /images# Create the app.log fileRUN touch -p app.log# Assign the ownership of app.log to appuserRUN chown appuser app.log15 unmodified linesEXPOSE 8501# Run the application.CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]
Dockerfile+2-4