You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Stage 0, "build-stage", based on Node.js, to build and compile the frontend
FROM node:8.12 as build-stage
WORKDIR /app
COPY package.json /app/
RUN npm install
COPY ./ /app/
RUN npm run build:qa --production
# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx
FROM nginx:1.15.4
COPY --from=build-stage /app/dist/qa/ /usr/share/nginx/html
# Copy the default nginx.conf provided by tiangolo/node-frontend
COPY --from=build-stage /app/_nginx/kaixinliao.conf /etc/nginx/conf.d/default.conf
COPY --from=build-stage /app/_nginx/nginx.conf /etc/nginx/nginx.conf
# # STEP 2: Setup
# FROM nginx:1.13.5-alpine
# COPY --from=builder /sealtalk/_nginx/default.conf /etc/nginx/conf.d/default.conf
# COPY --from=builder /sealtalk/_nginx/ssl/* /etc/nginx/ssl/
# RUN rm -rf /usr/share/nginx/html/*
# COPY --from=builder /sealtalk/out /usr/share/nginx/html
# CMD [ "nginx", "-g", "daemon off;"]
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: