commit f97ec8a9f0d87d80aaedd5722b769ff7a8d51324 Author: Anna Christina Naß Date: Wed Apr 8 13:58:05 2026 +0200 Erster Entwurf diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0a6ea9c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM python + +COPY websockify-*.tar.gz / + +RUN python3 -m pip install websockify-*.tar.gz +RUN rm -rf /websockify-* /root/.cache + +VOLUME /data + +EXPOSE 80 +EXPOSE 443 + +WORKDIR /opt/websockify + +ENV LOCALPORT=80 +ENV DEST=box.imzadi.de:23 +ENV OPTS=--web /data + +ENTRYPOINT ["/usr/local/bin/websockify", "$LOCALPORT $DEST $OPTS"] +