Expose Synology DSM ports

This commit is contained in:
Kroese 2023-03-26 20:29:21 +02:00 committed by GitHub
parent ac9a15d4d8
commit 84fa7f35f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.