Streamlit_Docker / Dockerfile
Daniel4343's picture
Update Dockerfile
af3ae88
raw
history blame
349 Bytes
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 ["landing.py", "--server.port", "7860"]