Version initiale de l'application en Streamlit
This commit is contained in:
parent
9750b363ac
commit
00911bbea4
13 changed files with 161 additions and 90 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
|||
FROM python:3.10-slim
|
||||
|
||||
EXPOSE 8051
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install the app's dependencies
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
# Copy the app's code
|
||||
COPY config.py ./
|
||||
COPY main.py ./
|
||||
COPY ressources ./ressources
|
||||
|
||||
# Set the entrypoint to run the app
|
||||
ENTRYPOINT [ "streamlit", "run" ]
|
||||
CMD [ "main.py", "--server.port=8051", "--server.headless", "true", "--server.fileWatcherType", "none", "--browser.gatherUsageStats", "false"]
|
Loading…
Add table
Add a link
Reference in a new issue