pf2db/db_explorer/Dockerfile
2021-11-19 11:52:09 +01:00

16 lines
284 B
Docker

FROM python:3
RUN python3 -m pip install poetry
EXPOSE 5000
WORKDIR /app
COPY db_explorer/pyproject.toml /app/
RUN poetry update
RUN poetry run pip install setuptools
COPY db_explorer/ /app/
ENTRYPOINT [ "poetry", "run" ]
CMD [ "gunicorn", "-b=0.0.0.0:5000", "db_explorer:app" ]