11 lines
434 B
Docker
11 lines
434 B
Docker
|
FROM python:3.8-slim-buster
|
||
|
RUN apt-get update && apt-get upgrade
|
||
|
RUN pip3 install flask Flask-SQLAlchemy flask_migrate flask_login flask_wtf python-dotenv
|
||
|
RUN apt-get install gcc libpcre3 libpcre3-dev -y
|
||
|
RUN pip3 install uwsgi
|
||
|
RUN pip3 install email-validator
|
||
|
RUN pip3 install google google-oauth google-auth-oauthlib google-api-python-client
|
||
|
COPY docker-entrypoint.sh /usr/local/bin/
|
||
|
EXPOSE 8084
|
||
|
ENTRYPOINT ["docker-entrypoint.sh"]
|