-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08ec578
commit 8540660
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |