Skip to content

Commit

Permalink
fix: Replaces ADD calls with COPY in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
phantomjinx committed Feb 19, 2024
1 parent 568a3ee commit 7d161ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ WORKDIR /hawtio-online

COPY package.json yarn.lock ./
COPY .yarnrc.yml ./
ADD packages/ packages/
ADD .yarn/plugins .yarn/plugins
ADD .yarn/releases .yarn/releases
COPY packages/ packages/
COPY .yarn/plugins .yarn/plugins
COPY .yarn/releases .yarn/releases

RUN yarn install
RUN yarn build
Expand Down Expand Up @@ -34,7 +34,7 @@ LABEL url="https://www.nginx.com/" \
io.openshift.expose-services="8443:https" \
io.openshift.tags="nginx,nginxinc"

ADD docker/nginx.repo /etc/yum.repos.d/nginx.repo
COPY docker/nginx.repo /etc/yum.repos.d/nginx.repo

RUN curl -sO http://nginx.org/keys/nginx_signing.key && \
rpm --import ./nginx_signing.key && \
Expand Down

0 comments on commit 7d161ab

Please sign in to comment.