Files
salona/Dockerfile
farnoosh-krm 8ee18c218c (Fix) banners layout, update notifications behavior,
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
2025-11-25 16:35:55 +03:30

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