Commit f73c7046 authored by Sarah Abrishami's avatar Sarah Abrishami

updated deployment files

parent 6ba47581
# pull official base image # pull official base image
FROM python:3.8-slim FROM python:3.8-slim
WORKDIR /home/pv WORKDIR /home/rule_engine
COPY . . COPY . .
RUN pip install -r requirements.txt --no-index --find-links wheels/ RUN pip install -r requirements.txt --no-index --find-links wheels/
......
...@@ -3,11 +3,11 @@ node { ...@@ -3,11 +3,11 @@ node {
def dockerImage def dockerImage
// ip address of the docker private repository // ip address of the docker private repository
def dockerImageTag = "pv-report" def dockerImageTag = "rule_engine"
def dockerNetwork = "docker_vista" def dockerNetwork = "docker_vista"
// Application port // Application port
def dockerPort = "5800" def dockerPort = "5200"
def endpointPort = "5800" def endpointPort = "5200"
stage('Clone Repo') { stage('Clone Repo') {
checkout scm checkout scm
......
#!/bin/bash #!/bin/bash
exec gunicorn -b :5800 --access-logfile - --error-logfile - manage:app exec gunicorn -b :5200 --access-logfile - --error-logfile - manage:app
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment