superkart-backend / Dockerfile
premswan's picture
Upload Dockerfile with huggingface_hub
b91e61f verified
raw
history blame contribute delete
272 Bytes
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy backend files into the container
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the backend port
EXPOSE 7860
# Run the Flask app
CMD ["python", "app.py"]