myconsicouness / Dockerfile
adityasugandhi
test
dc78897
raw
history blame
434 Bytes
FROM continuumio/miniconda3:latest
# Set environment variables
ENV PATH /opt/conda/bin:$PATH
# Create conda environment
# RUN conda env create -f /code/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"]