initial commit

This commit is contained in:
FinnStutzenstein committed 2020-04-13 08:31:44 +02:00
commit 9d018e00be
82 files changed
+2407

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
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
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/
ENV FLASK_APP=max.app
ENV FLASK_ENV=development
ENTRYPOINT ["./entrypoint.sh"]
CMD ["flask", "run", "--host", "0.0.0.0", "--port", "8000"]