bank_api / Dockerfile
nsomabalint's picture
Upload 5 files
8431187 verified
raw
history blame contribute delete
346 Bytes
FROM python:3.9-slim
WORKDIR /app
# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY app.py .
# Expose port 7860 (Hugging Face Spaces default)
EXPOSE 7860
# Run the application
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]