Skip to content

Commit

Permalink
DBC22-1833: Added FontAwesome pro token to StaticBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
minORC committed Feb 29, 2024
1 parent 90f0232 commit d4a672a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compose/frontend/StaticBuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN chown node:root /app
# Install dependencies
COPY ./src/frontend/package.json /app/
COPY ./src/frontend/package-lock.json /app/
COPY ./src/frontend/.npmrc /app/
RUN npm install

# Add rest of the client code
Expand All @@ -18,6 +19,9 @@ RUN chown node:root /app/node_modules
# home is /, so node can't create a cache dir
ENV HOME /home/node

ARG FONTAWESOME_PACKAGE_TOKEN
ENV FONTAWESOME_PACKAGE_TOKEN=${FONTAWESOME_PACKAGE_TOKEN}

RUN npm run openshift_build

FROM nginx:stable-alpine
Expand Down

0 comments on commit d4a672a

Please sign in to comment.