se agrega la rotación de log y se actualiza la documentación del proyecto
This commit is contained in:
1 parent
cf2c1ee147
commit
372e6fe7f8
13 files changed
+459
-97
No files matched your search
+6
-3
@@ -1,9 +1,12 @@
|
||||
FROM python:3.11-slim
|
||||
FROM python:3.12-slim
|
||||
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
TZ=America/Lima
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN pip install --upgrade pip --no-cache-dir && pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
@@ -11,6 +14,6 @@ RUN apt-get update \
|
||||
rsync \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY *.py ./
|
||||
COPY . .
|
||||
|
||||
CMD ["python", "main.py"]
|
||||
Reference in new issue
Block a user