FROM python:3.9 | |
WORKDIR /app | |
COPY requirements.txt ./requirements.txt | |
RUN pip install -r requirements.txt | |
RUN mkdir -p /code/huggingface_dataset #Dateien werden im Hugging Face-Dataset unter /code/huggingface_dataset im Docker-Container gespeichert. | |
EXPOSE 8501 | |
COPY . /app | |
ENTRYPOINT ["streamlit", "run"] | |
CMD ["app.py", "--server.port", "7860"] |