Files
utils/Dockerfile
ztimson 4179b4010a
Some checks failed
Build / Tag Version (push) Has been cancelled
Build / Build NPM Project (push) Has been cancelled
Build / Publish Docs (push) Has been cancelled
Revert "added fast-xml-parser for testing"
This reverts commit 15ac52b6a0.
2026-04-04 18:20:44 -04:00

14 lines
278 B
Docker

# Build application
FROM node:alpine as build
RUN mkdir /app
WORKDIR /app
COPY . .
RUN if [ ! -d "node_modules" ]; then npm i; fi && \
if [ ! -d "dist" ]; then npm run docs; fi
# Use Nginx to serve
FROM nginx:1.23-alpine
COPY --from=build /app/docs /usr/share/nginx/html