diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..cf8ff1a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3 +RUN apt-get update && apt-get install -y python3-pip +RUN pip3 install --upgrade pip +WORKDIR /app +COPY requirements.txt . +COPY /app/app.py /app +RUN pip3 install -r requirements.txt +COPY . . +CMD ["python3", "app.py"] +################ \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..6f4fc94 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,11 @@ +pipeline { + agent any + + stages { + stage('Mock') { + steps { + echo '' + } + } + } +} diff --git a/app/app.py b/app/app.py new file mode 100644 index 0000000..fd6d9b9 --- /dev/null +++ b/app/app.py @@ -0,0 +1,6 @@ +def main(): + print('I am the main print. Hi, dude!') + +if __name__ == '__main__': + main() + diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..d2043db --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +copier +invoke +numpy +pandas +psycopg +