fountainai-bootstrap-service.git · Dockerfile
fountainai-bootstrap-service.git / Dockerfile
revision 929f7fd74824906012134bdddb55f69a9793aa6e · complete file
# bootstrap-service/Dockerfile FROM python:3.11-slim # Set working directory WORKDIR /app # Install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application code COPY ./app ./app # Ensure Uvicorn is available # (uvicorn should already be in requirements.txt; otherwise add it here) # USER nonroot # uncomment if you create a non-root user # Expose port (matches docker-compose) EXPOSE 8000 # Default command is provided by docker-compose; # you can uncomment to have a fallback: # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]