Spaces:
Runtime error
Runtime error
FROM continuumio/miniconda3:latest | |
# Set environment variables | |
ENV PATH /opt/conda/bin:$PATH | |
# Create conda environment | |
RUN conda env create -f env.yml | |
# Activate the conda environment | |
SHELL ["conda", "run", "-n", "RAGAPP", "/bin/bash", "-c"] | |
# Set working directory | |
WORKDIR /code | |
# Copy remaining files | |
COPY . . | |
# Command to run the application | |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] | |