Ayush_FHIR / Dockerfile
schandel08's picture
Space Updated
f5e215d
Raw
History Blame Contribute Delete
400 Bytes
# Use official Python image
FROM python:3.10-slim
# Set working directory
WORKDIR /code
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy everything
COPY . .
# Expose port (HF Spaces expects 7860)
EXPOSE 7860
# Run the FastAPI app with uvicorn (main.py is inside /app)
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]