diff --git a/projects/moritzgrafde/Dockerfile b/projects/moritzgrafde/Dockerfile index 84ae927..7512bf0 100644 --- a/projects/moritzgrafde/Dockerfile +++ b/projects/moritzgrafde/Dockerfile @@ -1,19 +1,5 @@ -# Build stage -FROM node:22-alpine AS builder -WORKDIR /app - -# Copy dependency definitions and install -COPY package*.json ./ -RUN npm ci - -# Copy source files and compile static bundle -COPY . . -RUN npm run build - -# Production runtime stage FROM nginx:alpine COPY nginx.conf /etc/nginx/conf.d/default.conf -COPY --from=builder /app/dist /usr/share/nginx/html - +COPY dist/ /usr/share/nginx/html/ EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]