Build docs for production
This commit is contained in:
@ -7,7 +7,8 @@ COPY ./docs/package-lock.json .
|
|||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
COPY ./docs .
|
COPY ./docs .
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
RUN npm install -g serve
|
RUN npm install -g serve
|
||||||
|
|
||||||
CMD ["serve", "-s", "build"]
|
CMD ["serve", "-s", "./build"]
|
||||||
|
|||||||
Reference in New Issue
Block a user