socketify.py-asgi.dockerfile 241 B

123456789101112131415
  1. FROM pypy:3.9-bullseye
  2. WORKDIR /usr/src/app
  3. COPY requirements.txt ./
  4. RUN apt-get update
  5. RUN apt install libuv1-dev -y
  6. RUN pip install --no-cache-dir -r requirements.txt
  7. COPY . .
  8. EXPOSE 3000
  9. CMD WORKER_COUNT=$(nproc) pypy3 ./raw-asgi.py