nextcloud-dlna/Dockerfile
Simon L b42dea27a2 create wrapper script in order to wait for Nextcloud to start
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-30 16:57:58 +01:00

19 lines
410 B
Docker

FROM eclipse-temurin:17-jdk
WORKDIR /app
COPY ./build/libs/* ./nextcloud-dlna.jar
RUN set -ex; \
export DEBIAN_FRONTEND=noninteractive; \
apt-get update; \
apt-get install -y --no-install-recommends \
tzdata \
netcat-openbsd \
; \
rm -rf /var/lib/apt/lists/*;
COPY --chmod=775 start.sh /start.sh
EXPOSE 8080
ENTRYPOINT /start.sh
CMD ["java","-jar","nextcloud-dlna.jar"]