dockerize app + add celery + impl pushpin for message events

This commit is contained in:
2023-09-18 14:29:37 +02:00
parent bd11ddbd60
commit 5d51bc6637
28 changed files with 353 additions and 302 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM python:3.10
ENV PYTHONUNBUFFERED 1
ENV DJANGO_SETTINGS_MODULE mumui.settings
RUN mkdir /app
WORKDIR /app
RUN apt update && apt install -y
COPY startup.sh /app/
COPY requirements.txt /app/
RUN pip install -r requirements.txt
ENTRYPOINT [ "/app/startup.sh" ]
EXPOSE 8000