link_shortener/docker/short-server/Dockerfile

9 lines
353 B
Docker
Raw Normal View History

FROM python:3.8-slim-buster
RUN apt-get update && apt-get upgrade -y
RUN apt-get install gcc libmariadbclient-dev -y
RUN pip3 install google-oauth google-api-python-client
RUN pip3 install flask Flask-SQLAlchemy flask_migrate flask_wtf python-dotenv mysqlclient
COPY docker-entrypoint.sh /usr/local/bin/
EXPOSE 3001
ENTRYPOINT ["docker-entrypoint.sh"]