gctGenerator/dockerfiles/Serve.Dockerfile
Matteias Collet 527ed6fbc5
Presets and categories (#73)
* add code categories

* add exclusives and dependencies

* add code selection presets

* remove standard category from some codes

* remove presets from nozzle lock

* reset preset selection on select & unselect stage loader

* update some translations

* remove stage loader from selection when changing versions

* add stage loader help text & warn when changing version if a code is selected

* prevent selecting disabled codes

* drop yarn in favor of npm

* Update Codes.xml

* reset code preset select on cancel

* minor style changes
2021-10-10 15:45:53 +02:00

17 lines
No EOL
362 B
Docker

FROM mcr.microsoft.com/powershell:latest AS prebuild
WORKDIR /src
COPY . .
RUN pwsh -File ./scripts/build_archives.ps1
FROM node:lts-buster AS build
WORKDIR /src
COPY --from=prebuild /src .
RUN npm i
RUN npm run build
FROM httpd:latest AS final
WORKDIR /usr/local/apache2/htdocs/
COPY --from=build /src/site/.vuepress/dist .
EXPOSE 80
CMD ["httpd-foreground"]