Files
ayerble.com/Dockerfile
Aaron Po 9cdcbd5526 First commit of ayerble.com
Create vite configuration
Create Three.js animation background
Add docker support
2026-03-03 01:28:33 -05:00

16 lines
294 B
Docker

# Build stage
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
# Production stage
FROM node:22-alpine
RUN npm install -g serve
WORKDIR /app
COPY --from=build /app/dist ./dist
EXPOSE 3627
CMD ["serve", "dist", "-l", "3627"]