Skip to content

Commit

Permalink
Dockerfile updates
Browse files Browse the repository at this point in the history
  • Loading branch information
saleemhamo committed Jul 7, 2024
1 parent a784234 commit 9d280ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ jobs:
context: .
push: true
tags: saleemhamo/ctf:v0
build-args: --progress=plain
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ WORKDIR /app
# Copy the requirements.txt file into the container at /app
COPY requirements.txt /app/

# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Install any needed packages specified in requirements.txt with retries
RUN pip install --no-cache-dir -r requirements.txt --progress=plain || \
pip install --no-cache-dir -r requirements.txt --progress=plain || \
pip install --no-cache-dir -r requirements.txt --progress=plain

# Copy the current directory contents into the container at /app
COPY . /app/
Expand Down

0 comments on commit 9d280ae

Please sign in to comment.