Skip to content

Commit

Permalink
feat(docker): remove node-jiti directory in prepare step
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Dec 14, 2022
1 parent d10dbfb commit 5b81ceb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ RUN npm install -g pnpm && \

COPY ./ ./

RUN pnpm install --offline
# TODO: create ticket about node-jiti folder (https://github.com/dargmuesli/jonas-thelemann/issues/178)
RUN pnpm install --offline \
&& rm -rf ./node-jiti

########################
# Build Nuxt.
Expand Down Expand Up @@ -69,9 +71,7 @@ WORKDIR /srv/app/

COPY --from=prepare /srv/app/ ./

# TODO: create ticket about node-jiti folder (https://github.com/dargmuesli/jonas-thelemann/issues/178)
RUN npm install -g pnpm && \
rm -rf ./node-jiti && \
pnpm run lint


Expand Down

0 comments on commit 5b81ceb

Please sign in to comment.