initial commit
This commit is contained in:
commit
9d018e00be
82 files changed
+2407
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
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 .
|
||||
RUN pip install -U -r requirements.txt
|
||||
COPY entrypoint.sh .
|
||||
RUN mkdir log
|
||||
|
||||
ENV PYTHONPATH /app/
|
||||
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:8000", "max.app:app"]
|
||||
Reference in new issue
Block a user