forked from Snd-R/komf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (15 loc) · 688 Bytes
/
Dockerfile
File metadata and controls
22 lines (15 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM eclipse-temurin:21-jre AS base-amd64
FROM eclipse-temurin:21-jre AS base-arm64
FROM eclipse-temurin:17-jre AS base-arm
FROM base-${TARGETARCH} AS build-final
RUN apt-get update && apt-get install -y pipx \
&& rm -rf /var/lib/apt/lists/*
RUN pipx install --include-deps pipx \
&& /root/.local/bin/pipx install --global --include-deps apprise
WORKDIR /app
COPY komf-app/build/libs/komf-app-1.0.0-SNAPSHOT-all.jar ./
ENV LC_ALL=en_US.UTF-8
ENV KOMF_CONFIG_DIR="/config"
ENTRYPOINT ["java","-jar", "komf-app-1.0.0-SNAPSHOT-all.jar"]
EXPOSE 8085
LABEL org.opencontainers.image.url=https://github.com/Snd-R/komf org.opencontainers.image.source=https://github.com/Snd-R/komf