Skip to content

Commit

Permalink
Update dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
lubnar committed Oct 30, 2024
1 parent fcb0451 commit b8c7197
Show file tree
Hide file tree
Showing 3 changed files with 918 additions and 2,838 deletions.
3 changes: 2 additions & 1 deletion core-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ ARG USERNAME="qguser"
ARG USER_UID=1001
ARG USER_GID=1000

ENV PATH="/home/${USERNAME}/node_modules/.bin:/home/${USERNAME}/yaku-apps-typescript/node_modules/.bin:/home/${USERNAME}/bin:${PATH}"

ADD --chown=${USER_UID}:${USER_GID} ./yaku-apps-typescript "/home/${USERNAME}/yaku-apps-typescript"

ENV PATH="/home/${USERNAME}/node_modules/.bin:/home/${USERNAME}/yaku-apps-typescript/node_modules/.bin:/home/${USERNAME}/bin:${PATH}"
WORKDIR /home/${USERNAME}/mnt
CMD [ "qg", "generate" ]
4 changes: 3 additions & 1 deletion qg-api-service/qg-api-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ COPY --from=build /home/node/app/api-keycloak-auth-lib/package.json ./api-keycl

EXPOSE ${PORT}

WORKDIR /home/node/app/qg-api-service
RUN chown -R node:node /home/node/app

USER node

CMD ["node", "qg-api-service/dist/main.js" ]
CMD ["node", "dist/main.js" ]
Loading

0 comments on commit b8c7197

Please sign in to comment.