Skip to content

Commit

Permalink
Merge pull request #105 from openclimatefix/python312
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
peterdudfield authored Dec 8, 2023
2 parents edc9e5a + 8594dec commit dccaae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# code from a streamlit app Peter made. the commands should be relevant to what I'm doing but stuff inside

FROM python:3.10-slim
FROM python:3.12-slim

WORKDIR /app
# copy everything in to the app folder (which we're already in)
Expand All @@ -15,4 +15,4 @@ EXPOSE 8501

EXPOSE 5433
#runs the command I'd run to start the app -- these are called "flags" and they're like arguments but they're not
ENTRYPOINT ["streamlit", "run", "main.py", "--server.port=8501", "--browser.serverAddress=0.0.0.0", "--server.address=0.0.0.0", "–server.enableCORS False"]
ENTRYPOINT ["streamlit", "run", "main.py", "--server.port=8501", "--browser.serverAddress=0.0.0.0", "--server.address=0.0.0.0", "–server.enableCORS False"]

0 comments on commit dccaae3

Please sign in to comment.