Skip to content

Commit

Permalink
Fix CI error
Browse files Browse the repository at this point in the history
  • Loading branch information
cblanc committed May 28, 2024
1 parent e440f25 commit 246b55f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM node:20-alpine AS base

USER node

RUN apk update && \
apk upgrade && \
apk add --no-cache openssl bash git
Expand All @@ -14,6 +12,11 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI
COPY docker/test/entrypoint.sh /usr/bin/
ENTRYPOINT ["entrypoint.sh"]

RUN mkdir -p /home/node/app/.npm \
&& chown -R node:node /home/node/app/.npm

ENV npm_config_cache /home/node/app/.npm

WORKDIR /app

COPY package.json .
Expand Down

0 comments on commit 246b55f

Please sign in to comment.