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