Portfolio / Dockerfile
Nausad's picture
Upload 8 files
6ad7b31 verified
Raw History Blame Contribute Delete
306 Bytes
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Copy all portfolio files
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port 7860 (required by Hugging Face Spaces)
EXPOSE 7860
# Run Flask to serve the static portfolio
CMD ["python", "app.py"]