From 8540660ce966f4a89a8bd62054d121166d6dcb31 Mon Sep 17 00:00:00 2001 From: Brian Wylie Date: Mon, 8 Mar 2021 17:02:44 -0700 Subject: [PATCH] adding a dockerfile --- ci_cd/Dockerfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ci_cd/Dockerfile diff --git a/ci_cd/Dockerfile b/ci_cd/Dockerfile new file mode 100644 index 0000000..3fcbb15 --- /dev/null +++ b/ci_cd/Dockerfile @@ -0,0 +1,22 @@ +# Grab a docker Python 3.8 image +FROM python:3.8 + +# Setup our ENV vars +ENV INSTALL_DIR /app +ENV PYTHONUNBUFFERED=1 + +# Set our working directory +WORKDIR ${INSTALL_DIR} + +# Update Pip +RUN pip install --upgrade pip + +# Install all application dependencies +COPY ci_cd/requirements.txt requirements.txt +RUN pip install -r requirements.txt + +# Copy all the code into the /app directory +COPY . . + +# Pip install our software +RUN pip install -e .