Skip to content

Commit

Permalink
Reduce size of pcw image
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Feb 22, 2023
1 parent 2f5c072 commit 72cd09f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY requirements.txt /pcw/
# * Install system requirements
# * Install pip requirements
# * Empty system cache to conserve some space
RUN zypper -n in python310-devel gcc libffi-devel aws-cli && pip3.10 install -r /pcw/requirements.txt && rm -rf /var/cache
RUN zypper -n in python310-devel gcc libffi-devel && pip install --no-cache-dir -r /pcw/requirements.txt && rm -rf /var/cache

# Copy program files only
COPY ocw /pcw/ocw/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY requirements.txt requirements_test.txt /tmp/
# * Install system requirements
# * Install pip requirements
# * Empty system cache to conserve some space
RUN zypper -n in python310-devel gcc libffi-devel aws-cli && pip3.10 install -r /tmp/requirements_test.txt && rm -rf /var/cache
RUN zypper -n in python310-devel gcc libffi-devel && pip install --no-cache-dir -r /tmp/requirements_test.txt && rm -rf /var/cache

WORKDIR /pcw

Expand Down

0 comments on commit 72cd09f

Please sign in to comment.