From 81ce04fa7750eb19fafaf648e6a816f0557b0583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=A9o=20M=C3=A9vollon?= Date: Thu, 29 Feb 2024 12:16:21 +0100 Subject: [PATCH] test --- frontend/Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 622acc36..2a0d19d3 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -15,9 +15,6 @@ ARG GATSBY_REPOSITORY_URL ENV GATSBY_REPOSITORY_URL $GATSBY_REPOSITORY_URL ENV GATSBY_TELEMETRY_DISABLED 1 WORKDIR /app -# Need lscpu -RUN apk add --no-cache --update util-linux && \ - rm -rf /var/cache/apk/* > /dev/null 2>&1 COPY yarn.lock .yarnrc.yml ./ COPY .yarn .yarn @@ -43,5 +40,5 @@ COPY --from=builder --chown=1000:1000 /app ./ USER 1000 -WORKDIR /app/frontend -CMD ["node", "node_modules/.bin/gatsby", "serve", "--port", "8080", "--host", "0.0.0.0"] +# CMD ["node", "node_modules/.bin/gatsby", "serve", "--port", "8080", "--host", "0.0.0.0"] +CMD ["yarn", "workspace", "recosante-frontend", "gatsby", "serve", "--port", "8080", "--host", "0.0.0.0"]