Daniel4343 commited on
Commit
74708db
1 Parent(s): ff1f92b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+ WORKDIR /app
3
+ COPY requirements.txt ./requirements.txt
4
+ RUN pip install -r requirements.txt
5
+ RUN mkdir -p /code/huggingface_dataset #Dateien werden im Hugging Face-Dataset unter /code/huggingface_dataset im Docker-Container gespeichert.
6
+ EXPOSE 8501
7
+ COPY . /app
8
+ ENTRYPOINT ["streamlit", "run"]
9
+ CMD ["app.py", "--server.port", "7860"]