From 8e8ecde856f5857f1fcc8e298f78ea5100ecba14 Mon Sep 17 00:00:00 2001 From: Teddy Roncin Date: Fri, 1 Dec 2023 00:42:53 +0100 Subject: [PATCH] Revert "docs: updated docs for seeding and production builds" This reverts commit ef2d7c64d990b3493c849a212d71d7ac02b0eb5c. (i'm just an idiot) --- Dockerfile | 2 +- README.md | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 82cb134..52e9e67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN pnpm install --frozen-lockfile --production=false COPY --chown=node:node ./ ./ # Build api -RUN pnpm build --build-arg API_URI=http://x.x.x.x:port # Replace with your IP and port +RUN pnpm build # Prunes devDependencies RUN pnpm install --production --ignore-scripts --prefer-offline diff --git a/README.md b/README.md index 1d8c511..5896ec5 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,6 @@ pnpm build pnpm start ``` -Dans le Dockerfile, il faut aussi rajouter l'argument `--build-arg API_URI=http://x.x.x.x:port` à la commande `pnpm build`, en mettant l'IP et le port de l'API. - ### CI/CD La pipeline de CI/CD est assurée par GitHub Actions.