.
Some checks failed
Testing / test (push) Waiting to run
Testing / test (pull_request) Has been cancelled

This commit is contained in:
Mrrp 2025-03-05 22:56:55 -08:00
parent 3580d9e5d3
commit e59af9afe9

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/*