Spaces:
Runtime error
Runtime error
File size: 482 Bytes
44b0c9c 26d036c 44b0c9c 26d036c 44b0c9c 26d036c 44b0c9c 26d036c 44b0c9c 26d036c 44b0c9c 26d036c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | FROM python:3.10-slim
WORKDIR /app
# Copy requirements and install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application
COPY . .
# Environment variables (as required by hackathon)
ENV API_BASE_URL=""
ENV MODEL_NAME="MayOne-Security-Framework"
ENV HF_TOKEN=""
# Optional for Docker image
ENV LOCAL_IMAGE_NAME=""
EXPOSE 7860
# Run the FastAPI server (entrypoint defined in openenv.yaml)
CMD ["python", "-m", "server.app"] |