main
Лев 2025-08-25 15:05:19 +05:00
parent 9b2c413f15
commit 39fd37b4aa
2 changed files with 5 additions and 3 deletions

View File

@ -18,10 +18,13 @@ RUN cd /home/ && wget -q https://download.oracle.com/otn_software/linux/instantc
rm /home/oracle-instantclient-devel-21.12.0.0.0-1.el8.x86_64.rpm &&\
ldconfig
CMD ["python", "main.py"]
EXPOSE 8000
WORKDIR /code/app
COPY ./requirements.txt /code/requirements.txt
COPY ./app /code/app
RUN python3.11 -m pip install --upgrade pip
RUN echo Y | python3.11 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
CMD ["python", "main.py"]

1
Jenkinsfile vendored
View File

@ -15,7 +15,6 @@ pipeline {
steps {
sh '''
docker-compose up --build -d
docker logs parse_saby
'''
}
}