From 84fa7f35f6ee9f3102124a68bb8746dc83c26311 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 26 Mar 2023 20:29:21 +0200 Subject: [PATCH] Expose Synology DSM ports --- Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b0ca9ed..7a38fe4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:bullseye-20211220-slim +FROM debian:bullseye-20230109-slim RUN apt-get update && apt-get -y upgrade && \ apt-get --no-install-recommends -y install \ @@ -14,8 +14,16 @@ COPY qemu-ifdown /run/ COPY qemu-ifup /run/ COPY run.sh /run/ +RUN ["chmod", "+x", "/run/generate-dhcpd-conf"] +RUN ["chmod", "+x", "/run/qemu-ifdown"] +RUN ["chmod", "+x", "/run/qemu-ifup"] +RUN ["chmod", "+x", "/run/run.sh"] + VOLUME /image +EXPOSE 5000 +EXPOSE 5001 + ENTRYPOINT ["/run/run.sh"] # Mostly users will probably want to configure memory usage.