Files
plex-playlist/Dockerfile.frontend
copilotcoder d4aa16e18a
Some checks failed
CICD / Build and Publish CICD Base Image (push) Successful in 18s
CICD / Build and Push CICD Image (push) Successful in 20m53s
CICD / Build CICD Image Failure Postmortem (push) Has been skipped
CICD / Backend Tests (push) Successful in 29s
CICD / Frontend Tests (push) Successful in 41s
CICD / Backend Doctests (push) Successful in 18s
CICD / Pre-commit Checks (push) Successful in 8m50s
CICD / Source Lanes Failure Postmortem (push) Has been skipped
CICD / CICD Tests Complete (push) Successful in 6s
CICD / Build Backend Base Image (push) Successful in 4m12s
CICD / Build Integration Tester Image (push) Successful in 1m16s
CICD / Build E2E Tester Image (push) Failing after 23s
CICD / Build Backend Main Image (push) Successful in 1m57s
CICD / Build Frontend Base Image (push) Successful in 7m10s
CICD / Build and Publish Runtime Images (Legacy Disabled) (push) Has been skipped
CICD / Build Frontend Main Image (push) Successful in 4m28s
CICD / Runtime Images Failure Postmortem (push) Successful in 7s
CICD / Runtime Black-Box Integration Tests (push) Has been skipped
CICD / End-to-End Tests (push) Has been skipped
CICD / Integration Tests Failure Postmortem (push) Has been skipped
CICD / Production Images Complete (push) Failing after 11s
CICD / E2E Tests Failure Postmortem (push) Has been skipped
Separate backend/frontend base-main lanes and add postmortem coverage
2026-07-07 18:15:33 -04:00

22 lines
446 B
Docker

# Frontend Dockerfile for Vue/Vite TypeScript project
FROM node:24-alpine AS deps
WORKDIR /app
COPY frontend/package.json frontend/yarn.lock frontend/.yarnrc.yml ./
RUN corepack enable && yarn install --immutable
FROM deps AS build
COPY frontend/ .
RUN yarn build
FROM nginx:alpine AS production
COPY --from=build /app/dist /usr/share/nginx/html
COPY frontend/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]