chronodiagram/Dockerfile
Ruben van de Ven 8d8eedb940 Run in docker
2022-03-15 15:04:03 +01:00

14 lines
303 B
Docker

FROM python:3.9
RUN mkdir /app
COPY /app /app
COPY pyproject.toml /app
COPY poetry.lock /app
WORKDIR /app
ENV PYTHONPATH=${PYTHONPATH}:${PWD}
RUN pip3 install poetry
RUN poetry config virtualenvs.create false
RUN poetry install --no-dev
ENTRYPOINT poetry run python webserver.py --storage /files