Build Docker image
This commit is contained in:
parent
ce1ce8c807
commit
56e7e3b203
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
FROM node:23 AS build
|
||||||
|
ENV FORCE_COLOR=0
|
||||||
|
RUN corepack enable
|
||||||
|
WORKDIR /opt/docusaurus
|
||||||
|
|
||||||
|
WORKDIR /opt/docusaurus
|
||||||
|
COPY . /opt/docusaurus/
|
||||||
|
RUN npm ci
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
|
FROM nginx:alpine
|
||||||
|
COPY --from=build /opt/docusaurus/build /usr/share/nginx/html
|
||||||
|
EXPOSE 80
|
Loading…
x
Reference in New Issue
Block a user