Spaces:
Runtime error
Runtime error
Download Dockerfile from Ashraf-CK/TransienTalk-socket: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/spaces/Ashraf-CK/TransienTalk-socket/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Ashraf-CK/TransienTalk-socket/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Ashraf-CK/TransienTalk-socket/resolve/main/Dockerfile
349 Bytes
| # Use Python as the base image | |
| FROM python:3.9-slim | |
| # Copy the app code into the container | |
| COPY . /app | |
| # Set the working directory to /app | |
| WORKDIR /app | |
| # Install necessary Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose port 5000 for the Flask app | |
| EXPOSE 5000 | |
| # Run the app using Python | |
| CMD ["python", "app.py"] | |