2023-10-19 12:38:13 +00:00
|
|
|
FROM eclipse-temurin:17-jdk
|
2023-10-13 18:32:15 +00:00
|
|
|
WORKDIR /app
|
|
|
|
|
2023-10-18 14:40:50 +00:00
|
|
|
COPY ./build/libs/* ./nextcloud-dlna.jar
|
2023-10-13 18:32:15 +00:00
|
|
|
|
2023-10-30 15:52:42 +00:00
|
|
|
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
|
|
|
|
|
2023-10-13 18:32:15 +00:00
|
|
|
EXPOSE 8080
|
2023-10-30 16:35:16 +00:00
|
|
|
ENTRYPOINT ["/start.sh"]
|
2023-10-18 14:40:50 +00:00
|
|
|
CMD ["java","-jar","nextcloud-dlna.jar"]
|