immersive-home/docs/Dockerfile

20 lines
226 B
Docker
Raw Normal View History

2024-03-17 01:50:41 +02:00
FROM node:18-alpine AS build
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
RUN npm run generate
RUN npm run build
FROM httpd:2.4
COPY --from=build /app/.vitepress/dist /usr/local/apache2/htdocs/
EXPOSE 80