bastion / server /Dockerfile
Astro-Dude's picture
Upload folder using huggingface_hub
7253f9a verified
Raw
History Blame Contribute Delete
368 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY *.py ./
COPY server/ ./server/
COPY openenv.yaml ./
COPY README.md ./
EXPOSE 7860
# Start the OpenEnv-compatible FastAPI server
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]