cutelyst-pf-pg.dockerfile 383 B

12345678910111213141516
  1. FROM techempower/cutelyst-shared-setup:latest
  2. ENV C_THREADS 1
  3. ENV CPU_AFFINITY 1
  4. ENV DRIVER QPSQL
  5. RUN sed -i "s|Driver=.*|Driver=${DRIVER}|g" /cutelyst.ini
  6. CMD cutelyst-wsgi2 \
  7. --ini /cutelyst.ini:uwsgi \
  8. --application ${CUTELYST_APP} \
  9. --processes=$(nproc) \
  10. --threads=${C_THREADS} \
  11. --cpu-affinity=${CPU_AFFINITY} \
  12. --socket-timeout 0 \
  13. --reuse-port