Updated ssr option for SEO.
Signed-off-by: Pavel Kirilin <win10@list.ru>
This commit is contained in:
@ -1,11 +1,12 @@
|
||||
FROM node:lts-alpine3.14 as builder
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
COPY package.json yarn.lock ./
|
||||
|
||||
RUN yarn install
|
||||
RUN yarn generate
|
||||
|
||||
FROM nginx:1.20.2-alpine
|
||||
COPY . /app
|
||||
|
||||
COPY --from=builder /app/dist/ /usr/share/nginx/html/
|
||||
RUN yarn build
|
||||
|
||||
CMD ["yarn", "start", "-p", "80"]
|
||||
|
@ -4,6 +4,7 @@ metadata:
|
||||
name: {{ include "s3rius-blog.fullname" . }}
|
||||
labels:
|
||||
{{- include "s3rius-blog.labels" . | nindent 4 }}
|
||||
deployed_at: {{now | quote}}
|
||||
spec:
|
||||
{{- if not .Values.autoscaling.enabled }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
|
Reference in New Issue
Block a user