Spaces:
Configuration error
Configuration error
Download Dockerfile from hamza50/hotelfinder: direct link, hf CLI and curl.
- Browser
- Download file 500 Bytes
-
https://huggingface.co/spaces/hamza50/hotelfinder/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/hamza50/hotelfinder/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/hamza50/hotelfinder/resolve/main/Dockerfile
500 Bytes
| #Base Image to use | |
| FROM python:3.7.9 | |
| #Expose port 8080 | |
| EXPOSE 8080 | |
| #Copy Requirements.txt file into app directory | |
| COPY requirements.txt app/requirements.txt | |
| #install all requirements in requirements.txt | |
| RUN pip3 install -r app/requirements.txt | |
| #Copy all files in current directory into app directory | |
| COPY . /app | |
| #Change Working Directory to app directory | |
| WORKDIR /app | |
| #Run the application on port 8080 | |
| ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8080", "--server.address=0.0.0.0"] | |