From fa22ae78c39450d609821fac196f3d6d8a17a943 Mon Sep 17 00:00:00 2001 From: r0mchik Date: Mon, 19 May 2025 10:56:39 +0700 Subject: [PATCH] v0.0.2 --- web/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web/Dockerfile b/web/Dockerfile index 0d828d5..eedb5fc 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -19,9 +19,8 @@ WORKDIR /app/web COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt - +RUN python manage.py collectstatic --noinput COPY . . COPY models ./models -# RUN chmod +x docker/daphne_entrypoint.sh -# ENTRYPOINT ["./docker/daphne_entrypoint.sh"] \ No newline at end of file +CMD ["daphne", "-b", "0.0.0.0", "-p", "8106", "app.asgi:application"] \ No newline at end of file