prepare dockerfile 0.1.0
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user