Skip to content
Snippets Groups Projects
Select Git revision
  • main
  • renovate/sentry-sdk-2.x
  • renovate/django-5.x
  • renovate/whitenoise-6.x
  • develop protected
  • new-changes
  • v3.0.3
  • v3.0.2
  • v3.0.2-develop.1
  • v3.0.1
  • v3.0.0-develop.1
  • v3.0.0
  • v2.1.0
  • v2.0.3
  • v2.0.2
  • v2.0.1
  • v2.0.0
  • v1.1.2
  • v1.1.1
  • v1.1.0
  • v1.0.1
  • v1.0.0
22 results

Dockerfile

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Dockerfile 280 B
    FROM python:3.13
    
    WORKDIR /app
    COPY requirements.txt requirements.txt
    RUN pip install --no-cache-dir -r requirements.txt
    
    COPY . /app
    RUN mkdir -p /app/db/ && chmod +x /app/start.sh && rm requirements.txt && chown -R 1000:1000 /app
    USER 1000
    EXPOSE 8000
    ENTRYPOINT ["./start.sh"]