AegisOpenEnv / server /Dockerfile
armaan020's picture
Upload folder using huggingface_hub
d4d7d39 verified
Raw
History Blame Contribute Delete
399 Bytes
FROM python:3.10-slim
WORKDIR /app
# Copy the entire project for multi-mode context
COPY . .
# Install dependencies from the server subfolder
RUN pip install --no-cache-dir -r server/requirements.txt
RUN pip install --no-cache-dir .
# Expose the OpenEnv port
EXPOSE 7860
# Start the server using the absolute module path
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]