diff --git a/.gitignore b/.gitignore index 9702d2a..b085649 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /.venv -.env \ No newline at end of file +.env +docker-compose.yml \ No newline at end of file diff --git a/dockerfile b/dockerfile index e38c669..1aea362 100644 --- a/dockerfile +++ b/dockerfile @@ -1,6 +1,5 @@ FROM python:3.11.9-slim -WORKDIR /opt/app RUN apt-get update && \ apt-get install -y --no-install-recommends \ @@ -8,8 +7,12 @@ RUN apt-get update && \ tzdata \ && rm -rf /var/lib/apt/lists/* +WORKDIR /opt/app + RUN git clone https://github.com/serty2005/MHservice.git . +ENV TZ="Europe/Moscow" + RUN pip install -r requirements.txt CMD ["python", "/opt/app/app.py"] \ No newline at end of file