Initial Commit

This commit is contained in:
2023-11-10 21:09:31 -05:00
commit c71fef9429
17 changed files with 990 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# Build Container
FROM python:3.11-slim
# Install App
WORKDIR /app
COPY . /app
# Install App & Gunicorn
RUN pip install .
RUN pip3 install gunicorn
# Cleanup
RUN rm -rf /app
# Start Application
ENTRYPOINT ["gunicorn"]
EXPOSE 5000
CMD ["vreader:create_app()", "--bind", "0.0.0.0:5000", "--threads=4", "--access-logfile", "-"]