and update Dockerfile (fix) - Adjusted banner sizes (fix) - Notifications no longer show on mobile if already read (feat) - Updated Dockerfile for proper build and deployment
21 lines
260 B
Docker
21 lines
260 B
Docker
FROM node:22 as build
|
|
|
|
WORKDIR /app
|
|
|
|
RUN npm install -g pnpm
|
|
|
|
COPY package*.json .
|
|
|
|
RUN pnpm install
|
|
|
|
COPY . .
|
|
|
|
RUN npm run build
|
|
|
|
FROM nginx:latest
|
|
|
|
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
|
|
EXPOSE 80 |