Skip to content

Commit

Permalink
revert dockerfile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gidsg authored and nuwan-samarasinghe committed Sep 10, 2024
1 parent 52499c6 commit 8f67e61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ USER 1001
COPY --chown=appuser:appuser .git ./.git
COPY --chown=appuser:appuser .gitmodules ./.gitmodules
RUN git submodule update --init --recursive
RUN rm -rf .git
RUN rm -rf digital-form-builder/.git
COPY --chown=appuser:appuser ../package.json package.json
COPY --chown=appuser:appuser ../tsconfig.json tsconfig.json
COPY --chown=appuser:appuser ../update-package.js update-package.js
Expand All @@ -51,7 +53,7 @@ FROM digital-form-builder-adapter-pre-build AS digital-form-builder-adapter-inst
WORKDIR /usr/src/app/digital-form-builder-adapter
USER 1001
RUN --mount=type=cache,target=.yarn/cache,uid=1001,mode=0755,id=digital-form-builder-adapter-install \
node update-package.js && yarn setup && yarn install --frozen-lockfile
node update-package.js && yarn setup && yarn install


# ----------------------------
Expand Down

0 comments on commit 8f67e61

Please sign in to comment.