Initial Commit

This commit is contained in:
2022-09-27 22:03:05 -04:00
commit bb6f1c42d6
17 changed files with 10852 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM python:3.9.2-slim as build
COPY . /app
WORKDIR /app
RUN python setup.py clean --all install
FROM python:3.9.2-alpine3.13
COPY --from=build /usr/local/lib/python3.9/site-packages /usr/local/lib/python3.9/site-packages
RUN pip3 install gunicorn
ENTRYPOINT ["gunicorn"]
CMD ["torinator:create_app()", "--bind", "0.0.0.0:5000", "--threads=4"]