tracking-habits
/
Dockerfile
20 строк · 484.0 Байт
1FROM python:3.122LABEL authors="Alex"3ENV PYTHONDONTWRITEBYTECODE 14ENV PYTHONUNBUFFERED 15
6RUN mkdir /app7WORKDIR /app8RUN apt update && apt install -y python3-dev supervisor nginx postgresql-client9RUN rm -rf /var/lib/apt/lists/*10RUN pip install --upgrade pip11RUN pip install poetry12
13COPY pyproject.toml ./14COPY poetry.lock ./15RUN poetry config virtualenvs.create false16RUN poetry install --no-root17
18COPY ./tracking-habits /app/tracking-habits19
20COPY ./tracking-bot /app/tracking-bot