More work

This commit is contained in:
Finn Stutzenstein committed 2022-01-22 18:37:56 +01:00
1 parent 9d018e00be
commit add153d8a6
98 files changed
+18520 -333

No files matched your search

+8 -7
View File
@@ -1,20 +1,21 @@
FROM python:3.8.1
RUN apt-get -y update && apt-get -y upgrade && \
apt-get install --no-install-recommends -y wait-for-it postgresql-client
apt-get install --no-install-recommends -y wait-for-it postgresql-client vim
WORKDIR /app
COPY requirements.txt .
COPY requirements-dev.txt .
RUN pip install -U -r requirements.txt -r requirements-dev.txt
COPY entrypoint.sh .
COPY cleanup.sh .
COPY setup.cfg .
RUN mkdir log
ENV PYTHONPATH /app/
RUN mkdir log
ENV PYTHONPATH /app/
ENV FLASK_APP=max.app
ENV FLASK_ENV=development
ENTRYPOINT ["./entrypoint.sh"]
COPY scripts/* ./
ENTRYPOINT ["./entrypoint-dev.sh"]
CMD ["flask", "run", "--host", "0.0.0.0", "--port", "8000"]