From 4fa80663f62dfc001dc90e902c097477a9ac4eff Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Tue, 25 Apr 2023 23:46:39 +0200 Subject: [PATCH] Build docs for production --- infra/prod/docs/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/prod/docs/Dockerfile b/infra/prod/docs/Dockerfile index 0b85ead8e6..0d6efa5951 100644 --- a/infra/prod/docs/Dockerfile +++ b/infra/prod/docs/Dockerfile @@ -7,7 +7,8 @@ COPY ./docs/package-lock.json . RUN npm install COPY ./docs . +RUN npm run build RUN npm install -g serve -CMD ["serve", "-s", "build"] +CMD ["serve", "-s", "./build"]