Erster Entwurf
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user