Merge remote-tracking branch 'origin/staging' into dev
This commit is contained in:
commit
0372a4ea84
@ -1,4 +1,4 @@
|
|||||||
FROM node:20.10-alpine3.18 as build
|
FROM penahub.gitlab.yandexcloud.net:5050/devops/dockerhub-backup/node as build
|
||||||
|
|
||||||
RUN apk update && rm -rf /var/cache/apk/*
|
RUN apk update && rm -rf /var/cache/apk/*
|
||||||
WORKDIR /usr/app
|
WORKDIR /usr/app
|
||||||
@ -9,7 +9,7 @@ RUN yarn build
|
|||||||
RUN yarn build:widget
|
RUN yarn build:widget
|
||||||
|
|
||||||
|
|
||||||
FROM nginx:latest as result
|
FROM penahub.gitlab.yandexcloud.net:5050/devops/dockerhub-backup/nginx as result
|
||||||
WORKDIR /usr/share/nginx/html
|
WORKDIR /usr/share/nginx/html
|
||||||
COPY --from=build /usr/app/dist/ /usr/share/nginx/html
|
COPY --from=build /usr/app/dist/ /usr/share/nginx/html
|
||||||
COPY --from=build /usr/app/widget/widget.js /usr/share/nginx/html/export/pub.js
|
COPY --from=build /usr/app/widget/widget.js /usr/share/nginx/html/export/pub.js
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
services:
|
version: "3"
|
||||||
respondent:
|
services:
|
||||||
container_name: respondent
|
respondent:
|
||||||
restart: unless-stopped
|
container_name: respondent
|
||||||
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
restart: unless-stopped
|
||||||
hostname: respondent
|
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
|
||||||
tty: true
|
hostname: respondent
|
||||||
|
tty: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user