From 32c8b8365b29afdde4a0e6c4966014f7e375765e Mon Sep 17 00:00:00 2001 From: Michael Zaikin Date: Thu, 29 Jun 2023 12:55:34 +0300 Subject: [PATCH] sandbox dockerfile: use npm instead of yarn --- build/sandbox/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/sandbox/Dockerfile b/build/sandbox/Dockerfile index 96f858ef9..d2a3377c3 100644 --- a/build/sandbox/Dockerfile +++ b/build/sandbox/Dockerfile @@ -4,11 +4,11 @@ ARG TAG RUN git clone --depth=1 --branch ${TAG} https://github.com/baking-bad/bcd.git /bcd WORKDIR /bcd -RUN yarn +RUN npm i COPY build/sandbox/env.production /bcd/.env.production RUN export NODE_OPTIONS=--openssl-legacy-provider -RUN yarn build +RUN npm run build FROM nginx:latest AS release COPY build/sandbox/default.conf /etc/nginx/conf.d/default.conf @@ -16,4 +16,4 @@ COPY build/sandbox/entrypoint.sh / RUN chmod +x /entrypoint.sh WORKDIR /usr/share/nginx/html/ COPY --from=build /bcd/dist ./ -ENTRYPOINT [ "/entrypoint.sh" ] \ No newline at end of file +ENTRYPOINT [ "/entrypoint.sh" ]