chronodiagram/Dockerfile

15 lines
303 B
Docker
Raw Normal View History

2022-03-15 15:04:03 +01:00
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