/
vdele
/
app
Обзор
Документация
Войти
/
vdele
/
app
Код
Вики
Пакеты
0
Релизы
1
Аналитика
dev
dockerfile
17 строк
404 B
Vasilii Polshakov
Initial commit
25 мар 2025, 01:21
25 мар 2025, 01:21
6a154a4
Код
Авторство
О чём код?
# build FROM node:22.13.1 as build-stage WORKDIR /app COPY package*.json ./ RUN npm ci && npm cache clean --force #RUN npm install COPY . . RUN npm run build # production FROM nginx:stable-alpine as production-stage RUN chmod -R 755 /usr/share/nginx/html COPY --from=build-stage /app/dist /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]