chore: docker-compose + traefik deployment for aqua.dev.kkhost.pl (#8)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
# Stage 1: Build
|
||||
FROM node:22-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Serve
|
||||
FROM nginx:alpine
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
# Use default nginx config (serves /usr/share/nginx/html on port 80)
|
||||
Reference in New Issue
Block a user