se agregan archivos para Docker
This commit is contained in:
1 parent
1356646abf
commit
da23e99690
3 files changed
+37
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
TZ=America/Lima
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends tzdata \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY main.py constants.py logger_utilities.py sunat_manager.py hana_manager.py sapb1_manager.py scheduler.json empresas.json ./
|
||||
|
||||
CMD ["python", "main.py"]
|
||||
Reference in new issue
Block a user