Skip to content

Commit

Permalink
Copy package-lock.json in the container build
Browse files Browse the repository at this point in the history
Otherwise, builds are not reproductible on the CI, which tend
to greatly confuse coders (for N=1) who try to debug why it doesn't
build.

Signed-off-by: Michael Scherer <misc@redhat.com>
  • Loading branch information
mscherer committed Jul 6, 2022
1 parent 9db3fe0 commit fbbe2ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util/docker/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ COPY ./util/docker/frontend/frontend.docker.config.json frontend.config.json
# RUN cp frontend.docker.config.json frontend.config.json

FROM build-stage as core-ui
COPY frontend/package.json .
COPY frontend/package.json .
COPY frontend/package-lock.json .
RUN npm install
RUN npm install @vue/cli
COPY frontend/ .
Expand Down

0 comments on commit fbbe2ec

Please sign in to comment.