mirror of
https://github.com/notherealmarco/vue-quic-test.git
synced 2025-05-05 12:32:34 +02:00
Initial commit
This commit is contained in:
parent
78d8503304
commit
35dc9ea7ce
23 changed files with 2229 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue