a
За ранее спасибо
Size: a a a
a
MD
MD
Д
MD
MD
MD
MD
Д
FROM node:13.0.1 as builder
WORKDIR /app
COPY . .
RUN npm install && npm run build && ls -l
FROM nginx:1.16.0-alpine
COPY --from=builder /app/build /usr/share/nginx/html
RUN ls -l /usr/share/nginx/html && rm -rf /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
A
FROM node:13.0.1 as builder
WORKDIR /app
COPY . .
RUN npm install && npm run build && ls -l
FROM nginx:1.16.0-alpine
COPY --from=builder /app/build /usr/share/nginx/html
RUN ls -l /usr/share/nginx/html && rm -rf /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
A
MD
FROM node:13.0.1 as builder
WORKDIR /app
COPY . .
RUN npm install && npm run build && ls -l
FROM nginx:1.16.0-alpine
COPY --from=builder /app/build /usr/share/nginx/html
RUN ls -l /usr/share/nginx/html && rm -rf /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
MD
MD
MD
MD
MD
MD
Д
MD