Zaklad ssr
This commit is contained in:
+9
-6
@@ -13,12 +13,15 @@ FROM develop-stage as build-stage
|
||||
#ENV VUE_API_URL $API_URL
|
||||
|
||||
RUN yarn --production=false
|
||||
RUN quasar build
|
||||
RUN quasar build -m ssr
|
||||
|
||||
# production stage
|
||||
FROM nginx:1.25-alpine as production-stage
|
||||
COPY conf/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY --from=build-stage /app/dist/spa /app/html
|
||||
EXPOSE 80
|
||||
#FROM nginx:1.25-alpine as production-stage
|
||||
#COPY conf/nginx.conf /etc/nginx/nginx.conf
|
||||
#COPY --from=build-stage /app/dist/spa /app/html
|
||||
#EXPOSE 80
|
||||
#
|
||||
#CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
FROM keymetrics/pm2:latest-alpine as production-stage
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
Reference in New Issue
Block a user