File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,12 +14,18 @@ RUN apk add --no-cache wget &&\
1414 wget --input-file=lib-urls.txt --directory-prefix=production-code/daemon/lib/ &&\
1515 chmod a+x production-code/daemon/lib/*
1616
17- FROM eclipse-temurin:${EMBEDDED_JAVA_VERSION}-jdk
17+ # FROM eclipse-temurin:${EMBEDDED_JAVA_VERSION}-jdk
18+ FROM ghcr.io/linuxserver/baseimage-debian:bookworm
1819
1920ARG DEBIAN_FRONTEND=noninteractive
20- RUN apt-get update && apt-get install -y curl &&\
21+ RUN apt-get update && \
22+ apt-get install -y --no-install-recommends \
23+ curl \
24+ temurin-${EMBEDDED_JAVA_VERSION}-jre &&\
2125 curl -fsSL https://deb.nodesource.com/setup_20.x | bash &&\
22- apt-get update && apt-get install -y nodejs && apt-get clean
26+ apt-get update && \
27+ apt-get install -y --no-install-recommends \
28+ nodejs
2329
2430WORKDIR /opt/mcsmanager/daemon
2531
@@ -33,4 +39,4 @@ ENV MCSM_INSTANCES_BASE_PATH=/opt/mcsmanager/daemon/data/InstanceData
3339
3440VOLUME ["/opt/mcsmanager/daemon/data" , "/opt/mcsmanager/daemon/logs" ]
3541
36- CMD [ "node" , "app.js" , "--max-old-space-size=8192" ]
42+ CMD [ "node" , "app.js" , "--max-old-space-size=8192" ]
You can’t perform that action at this time.
0 commit comments