Dockerfile + CI/CD Pipeline hinzugefügt
Deploy Portfolio / deploy (push) Failing after 10s

This commit is contained in:
2026-05-10 12:14:10 +02:00
parent be226be216
commit 2de8609d3c
3 changed files with 34 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json .npmrc ./
COPY apps/web/package.json apps/web/
RUN npm install -g pnpm && pnpm install --no-frozen-lockfile
COPY apps/web/ apps/web/
WORKDIR /app/apps/web
RUN pnpm run build
FROM nginx:stable-alpine
COPY --from=build /app/apps/web/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]