mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-13 05:29:09 +01:00
16 lines
No EOL
313 B
Text
16 lines
No EOL
313 B
Text
FROM node:lts as builder
|
|
|
|
### Copy Vue.js code
|
|
WORKDIR /app
|
|
COPY webui webui
|
|
|
|
### Build Vue.js into plain HTML/CSS/JS
|
|
WORKDIR /app/webui
|
|
RUN npm run build-prod
|
|
|
|
|
|
### Create final container
|
|
FROM nginx:stable
|
|
|
|
### Copy the (built) app from the builder image
|
|
COPY --from=builder /app/webui/dist /usr/share/nginx/html |