Updated Visuals

This commit is contained in:
2025-08-15 01:03:03 +01:00
parent 916c770216
commit 102ea907a0
18 changed files with 65 additions and 33 deletions
+22
View File
@@ -0,0 +1,22 @@
# Multi-stage build for Vue 3 portfolio
# Build stage
FROM node:20-alpine AS build
WORKDIR /app
# Install dependencies
COPY package*.json ./
RUN npm ci
# Copy source and build
COPY . .
RUN npm run build
# Runtime stage (no nginx as requested)
FROM node:20-alpine AS runtime
WORKDIR /app
# Install a tiny static file server
RUN npm install -g serve@14
# Copy only built assets
COPY --from=build /app/dist ./dist
# No EXPOSE (internal port 80 via serve)
CMD ["serve", "-s", "dist", "-l", "80"]