Initialize Vue docker branch with Drone pipeline

This commit is contained in:
2026-06-19 23:46:25 +08:00
commit e4b754045f
9 changed files with 144 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM node:20-alpine AS build
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:1.27-alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80