code-debug-env / server /Dockerfile
Sneha Rudra
Initial commit: Code Debugging Challenge OpenEnv environment
1e3b07a
raw
history blame contribute delete
299 Bytes
FROM ghcr.io/meta-pytorch/openenv-base:latest AS base
WORKDIR /app
COPY pyproject.toml README.md ./
COPY models.py ./
COPY client.py ./
COPY server/ ./server/
RUN pip install --no-cache-dir -e .
EXPOSE 8000
WORKDIR /app/server
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]