fabriquedoc-frontend/Dockerfile

16 lines
394 B
Docker
Raw Normal View History

2023-01-05 02:46:26 +00:00
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 main.py .
# Set the entrypoint to run the app
ENTRYPOINT [ "streamlit", "run" ]
2023-01-05 03:17:34 +00:00
CMD [ "main.py", "--server.port=8051", "--server.headless", "true", "--server.fileWatcherType", "none", "--browser.gatherUsageStats", "false"]