Skip to content

Commit

Permalink
adding a dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Mar 9, 2021
1 parent 08ec578 commit 8540660
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ci_cd/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 .

0 comments on commit 8540660

Please sign in to comment.