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 b485cca commit 20ad3d3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 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 @@ -11,16 +9,19 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI
&& tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz

COPY docker/test/entrypoint.sh /usr/bin/
ENTRYPOINT ["entrypoint.sh"]

WORKDIR /app

COPY package.json .
COPY package-lock.json .

RUN npm install

USER node

COPY docker/test/entrypoint.sh /usr/bin/

ENTRYPOINT ["entrypoint.sh"]

ADD . /app

CMD tail

0 comments on commit 20ad3d3

Please sign in to comment.