PluginLiveInterns
commited on
Commit
·
6e95cf9
1
Parent(s):
53cce60
Add application file
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -54,10 +54,8 @@ COPY . .
|
|
54 |
RUN sed -i 's/chrome_options.add_argument("--headless")/chrome_options.add_argument("--headless=new")/g' app.py
|
55 |
|
56 |
# Expose the Streamlit port
|
57 |
-
EXPOSE
|
58 |
|
59 |
# Set environment variables placeholder (actual key should be provided at runtime)
|
60 |
ENV GEMINI_API_KEY=""
|
61 |
-
|
62 |
-
# Run Streamlit
|
63 |
-
CMD ["streamlit", "run", "app2.py", "--server.address=0.0.0.0"]
|
|
|
54 |
RUN sed -i 's/chrome_options.add_argument("--headless")/chrome_options.add_argument("--headless=new")/g' app.py
|
55 |
|
56 |
# Expose the Streamlit port
|
57 |
+
EXPOSE 7860
|
58 |
|
59 |
# Set environment variables placeholder (actual key should be provided at runtime)
|
60 |
ENV GEMINI_API_KEY=""
|
61 |
+
CMD ["streamlit", "run", "app2.py", "--server.address=0.0.0.0", "--port", "7860"]
|
|
|
|