Merge pull request '.' (#7) from main into gold
Some checks failed
Publish to OCI Registry / publish (push) Failing after 5m7s
Testing / test (push) Has been cancelled

Reviewed-on: #7
This commit is contained in:
Mrrp 2025-03-06 06:57:21 +00:00
commit 5a7258e0e2

View file

@ -1,13 +1,13 @@
# build stage # build stage
FROM node:lts-alpine as build-stage FROM node:lts-alpine AS build-stage
WORKDIR /app WORKDIR /app
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm ci --omit=dev RUN npm i
COPY . . COPY . .
RUN npm run build RUN npm run build
# production stage # production stage
FROM nginx:stable-alpine as production-stage FROM nginx:stable-alpine AS production-stage
# Remove default Nginx index page # Remove default Nginx index page
RUN rm -rf /usr/share/nginx/html/* RUN rm -rf /usr/share/nginx/html/*