Version initiale "hello world"
This commit is contained in:
parent
8b87cf51db
commit
8a0f82a759
10 changed files with 347 additions and 90 deletions
21
Dockerfile
Normal file
21
Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM python:3.10-slim
|
||||
|
||||
EXPOSE 8052
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install the app's dependencies
|
||||
RUN pip install --upgrade pip
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
COPY install.py .
|
||||
RUN python install.py
|
||||
|
||||
# Copy the app's code
|
||||
COPY main.py .
|
||||
|
||||
# Set the entrypoint to run the app
|
||||
ENTRYPOINT [ "streamlit", "run" ]
|
||||
CMD [ "main.py", "--server.port=8052", "--server.headless", "true", "--server.fileWatcherType", "none", "--browser.gatherUsageStats", "false"]
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue