Initial commit

This commit is contained in:
Marco Realacci 2023-09-29 02:25:51 +02:00
parent 78d8503304
commit 35dc9ea7ce
23 changed files with 2229 additions and 0 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM node:lts as builder
### Copy Vue.js code
WORKDIR /app
COPY . webui
### Build Vue.js into plain HTML/CSS/JS
WORKDIR /app/webui
RUN npm install
RUN npm run build
### Create final container
FROM nginx:stable
### Copy the (built) app from the builder image
COPY --from=builder /app/webui/dist /usr/share/nginx/html