diff --git a/Dockerfile b/Dockerfile index fc16036..7cfe1ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +RUN echo Y | python3.11 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt + +CMD ["python", "main.py"] \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 9ee3464..626ac68 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,6 @@ pipeline { steps { sh ''' docker-compose up --build -d - docker logs parse_saby ''' } }