527ed6fbc5
* 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
17 lines
No EOL
362 B
Docker
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"] |