2020-05-10 20:31:42 +02:00
|
|
|
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
|
2020-05-27 20:06:43 +02:00
|
|
|
RUN apt-get install gcc libpcre3 libpcre3-dev libmariadbclient-dev -y
|
2020-07-10 10:11:31 +02:00
|
|
|
RUN pip3 install uwsgi email-validator RandomWords
|
2020-05-27 20:06:43 +02:00
|
|
|
RUN pip3 install google google-oauth google-auth-oauthlib google-api-python-client mysqlclient
|
2020-05-10 20:31:42 +02:00
|
|
|
COPY docker-entrypoint.sh /usr/local/bin/
|
|
|
|
EXPOSE 8084
|
2020-05-27 20:06:43 +02:00
|
|
|
EXPOSE 3001
|
2020-05-10 20:31:42 +02:00
|
|
|
ENTRYPOINT ["docker-entrypoint.sh"]
|