Build docs for production

This commit is contained in:
Charles Bochet 2023-04-25 23:46:39 +02:00
parent 86586b70c7
commit 4fa80663f6

View File

@ -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"]