Skip to content

Commit

Permalink
Add echo to dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
fergmac committed Sep 26, 2024
1 parent 306c933 commit 4e1db4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ WORKDIR /app

COPY package*.json ./

RUN npm i
RUN echo "npm install"
RUN npm install

COPY . /app

RUN npm run build

RUN echo "CMD to run"
CMD run sh -c "npm run serve"

Check warning on line 24 in frontend/Dockerfile

View workflow job for this annotation

GitHub Actions / Builds (frontend)

JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/

# FROM node:14.21.3
Expand Down

0 comments on commit 4e1db4a

Please sign in to comment.