Merge remote-tracking branch 'origin/staging' into dev

This commit is contained in:
nflnkr 2024-06-02 12:55:42 +03:00
commit 0372a4ea84
2 changed files with 10 additions and 9 deletions

@ -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/*
WORKDIR /usr/app
@ -9,7 +9,7 @@ RUN yarn build
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
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

@ -1,7 +1,8 @@
services:
respondent:
container_name: respondent
restart: unless-stopped
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
hostname: respondent
tty: true
version: "3"
services:
respondent:
container_name: respondent
restart: unless-stopped
image: $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_REF_SLUG.$CI_PIPELINE_ID
hostname: respondent
tty: true