[FIX] deploy
This commit is contained in:
parent
eaf0f5688e
commit
88b27e5f39
10
Dockerfile
10
Dockerfile
@ -6,7 +6,7 @@
|
|||||||
FROM archlinux:base-devel AS common
|
FROM archlinux:base-devel AS common
|
||||||
# update system
|
# update system
|
||||||
RUN pacman -Syu --noconfirm && pacman-db-upgrade \
|
RUN pacman -Syu --noconfirm && pacman-db-upgrade \
|
||||||
&& pacman -S --noconfirm jdk-openjdk \
|
&& pacman -S --noconfirm jdk-openjdk wget\
|
||||||
&& pacman -Scc --noconfirm
|
&& pacman -Scc --noconfirm
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
@ -53,13 +53,13 @@ RUN pnpm install --prod=false
|
|||||||
FROM dependency_front AS load_sources_front
|
FROM dependency_front AS load_sources_front
|
||||||
|
|
||||||
# JUST to get the vertion of the application and his sha...
|
# JUST to get the vertion of the application and his sha...
|
||||||
COPY front/build.js \
|
COPY \
|
||||||
front/version.txt \
|
|
||||||
front/tsconfig.json \
|
front/tsconfig.json \
|
||||||
front/tsconfig.node.json \
|
front/tsconfig.node.json \
|
||||||
front/vite.config.mts \
|
front/vite.config.mts \
|
||||||
front/index.html \
|
front/index.html \
|
||||||
./
|
./
|
||||||
|
|
||||||
COPY front/public ./public
|
COPY front/public ./public
|
||||||
COPY front/src ./src
|
COPY front/src ./src
|
||||||
|
|
||||||
@ -103,4 +103,8 @@ WORKDIR /application/
|
|||||||
|
|
||||||
EXPOSE 80
|
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"]
|
CMD ["java", "-Xms64M", "-Xmx1G", "-cp", "/application/application.jar", "org.kar.karusic.WebLauncher"]
|
||||||
|
@ -26,6 +26,7 @@ import { useServiceContext } from '@/service/ServiceContext';
|
|||||||
import { useCountTracksOfAGender } from '@/service/Track';
|
import { useCountTracksOfAGender } from '@/service/Track';
|
||||||
import { isNullOrUndefined } from '@/utils/validator';
|
import { isNullOrUndefined } from '@/utils/validator';
|
||||||
|
|
||||||
|
import { FormGroupShow } from '../form/FormGroup';
|
||||||
import { Formidable, useFormidable } from '../formidable';
|
import { Formidable, useFormidable } from '../formidable';
|
||||||
|
|
||||||
export type GenderEditPopUpProps = {};
|
export type GenderEditPopUpProps = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user