[FIX] deploy

This commit is contained in:
Edouard DUPIN 2025-02-11 22:23:55 +01:00
parent eaf0f5688e
commit 88b27e5f39
2 changed files with 8 additions and 3 deletions

View File

@ -6,7 +6,7 @@
FROM archlinux:base-devel AS common
# update system
RUN pacman -Syu --noconfirm && pacman-db-upgrade \
&& pacman -S --noconfirm jdk-openjdk \
&& pacman -S --noconfirm jdk-openjdk wget\
&& pacman -Scc --noconfirm
WORKDIR /tmp
@ -53,13 +53,13 @@ RUN pnpm install --prod=false
FROM dependency_front AS load_sources_front
# JUST to get the vertion of the application and his sha...
COPY front/build.js \
front/version.txt \
COPY \
front/tsconfig.json \
front/tsconfig.node.json \
front/vite.config.mts \
front/index.html \
./
COPY front/public ./public
COPY front/src ./src
@ -103,4 +103,8 @@ WORKDIR /application/
EXPOSE 80
# To verify health-check: docker inspect --format "{{json .State.Health }}" YOUR_SERVICE_NAME | jq
HEALTHCHECK --start-period=10s --start-interval=2s --interval=30s --timeout=5s --retries=10 \
CMD wget --no-verbose --tries=1 --spider http://localhost:80/api/health_check || exit 1
CMD ["java", "-Xms64M", "-Xmx1G", "-cp", "/application/application.jar", "org.kar.karusic.WebLauncher"]

View File

@ -26,6 +26,7 @@ import { useServiceContext } from '@/service/ServiceContext';
import { useCountTracksOfAGender } from '@/service/Track';
import { isNullOrUndefined } from '@/utils/validator';
import { FormGroupShow } from '../form/FormGroup';
import { Formidable, useFormidable } from '../formidable';
export type GenderEditPopUpProps = {};