Commit f73c7046 authored by Sarah Abrishami's avatar Sarah Abrishami

updated deployment files

parent 6ba47581
# pull official base image
FROM python:3.8-slim
WORKDIR /home/pv
WORKDIR /home/rule_engine
COPY . .
RUN pip install -r requirements.txt --no-index --find-links wheels/
......
......@@ -3,11 +3,11 @@ node {
def dockerImage
// ip address of the docker private repository
def dockerImageTag = "pv-report"
def dockerImageTag = "rule_engine"
def dockerNetwork = "docker_vista"
// Application port
def dockerPort = "5800"
def endpointPort = "5800"
def dockerPort = "5200"
def endpointPort = "5200"
stage('Clone Repo') {
checkout scm
......
#!/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