nextcloud-dlna/Dockerfile
Simon L 43412c7b06 address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-30 23:01:14 +01:00

19 lines
414 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"]