diff --git a/Dockerfile b/Dockerfile index ab800d41b..cec1c9866 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:18-alpine as base WORKDIR /app -RUN apk add --no-cache bash git +RUN apk add --no-cache git COPY package.json . COPY yarn.lock . @@ -20,6 +20,7 @@ RUN yarn build # build final image with transpiled code and runtime dependencies FROM base +RUN apk update && apk upgrade COPY --from=dependencies /app/node_modules ./node_modules/ COPY --from=dependencies /app/content/node_modules ./node_modules/