[DEV] change back

This commit is contained in:
Edouard DUPIN 2022-05-31 23:29:51 +02:00
parent 5a5541ea9a
commit 74239e2eac
2 changed files with 18 additions and 8 deletions

View File

@ -16,8 +16,8 @@ RUN pacman -S --noconfirm jdk-openjdk java-openjfx
RUN pacman -S --noconfirm maven gradle RUN pacman -S --noconfirm maven gradle
# intall npm # intall npm
RUN pacman -S --noconfirm npm RUN pacman -S --noconfirm npm
# clean all the caches # clean all the caches Need only on the release environment
RUN pacman -Scc --noconfirm # RUN pacman -Scc --noconfirm
ENV PATH_ROOT $PATH ENV PATH_ROOT $PATH
@ -54,7 +54,7 @@ ADD front/angular.json /tmp/front/
ADD front/src /tmp/front/src ADD front/src /tmp/front/src
# generate build # generate build
RUN ng build --output-path=dist --configuration=production --base-href=/karso/ --deploy-url=/karso/ RUN ng build --output-path=dist --configuration=production --base-href=/karauth/ --deploy-url=/karauth/
###################################################################################### ######################################################################################
## ##
## Build sso: ## Build sso:
@ -86,11 +86,21 @@ RUN ng build --output-path=dist --configuration=production --base-href=/karso/ -
## ##
###################################################################################### ######################################################################################
FROM bellsoft/liberica-openjdk-alpine:latest #FROM bellsoft/liberica-openjdk-alpine:latest
ENV LANG=C.UTF-8
# add wget to manage the health check... # add wget to manage the health check...
RUN apk add --no-cache wget #RUN apk add --no-cache wget
FROM archlinux:base
RUN pacman -Syu --noconfirm && pacman-db-upgrade
# install package
RUN pacman -S --noconfirm jdk-openjdk wget
# intall npm
RUN pacman -S --noconfirm npm
# clean all the caches Need only on the release environment
RUN pacman -Scc --noconfirm
ENV LANG=C.UTF-8
RUN mkdir /application/ RUN mkdir /application/
#copy REST API from back: #copy REST API from back:

View File

@ -33,7 +33,7 @@ services:
karauth_back_service: karauth_back_service:
build: . build: .
restart: always restart: always
image: org.kar.auth.back image: org.kar.auth
depends_on: depends_on:
- karauth_db_service - karauth_db_service
ports: ports: