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 .