This commit is contained in:
2024-04-22 06:52:10 +03:00
parent 007b6e9a01
commit b7fa62ce09
5 changed files with 61 additions and 1 deletions

15
dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM python:3.11.9-slim
WORKDIR /opt/app
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
tzdata \
&& rm -rf /var/lib/apt/lists/*
RUN pip install -r requirements.txt
RUN git clone https://github.com/serty2005/MHservice.git .
CMD ["python", "/opt/app/app.py"]