nitro-client dockerfile only needs node packages & yarn

This commit is contained in:
Roy Crihfield 2024-10-15 19:12:17 +08:00
parent d660887f35
commit 3672d88d77

View File

@ -4,7 +4,9 @@ RUN apk --update --no-cache add python3 alpine-sdk bash curl jq
WORKDIR /app WORKDIR /app
COPY . . COPY ./packages packages
COPY ./package.json package.json
COPY ./yarn.lock yarn.lock
RUN echo "Installing dependencies" && \ RUN echo "Installing dependencies" && \
yarn && yarn build yarn && yarn build