add with dockerfile

This commit is contained in:
2023-02-17 17:50:45 +01:00
parent 728840ca8e
commit 0cbd1790b0
24 changed files with 30092 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
FROM node:16 as builder
COPY . /src
WORKDIR /src
RUN npm install
RUN npm test -- --watchAll=false
RUN npm run build
FROM nginx
COPY --from=builder /src/build /usr/share/nginx/html