Docker support

This commit is contained in:
Javier Cacheiro
2022-04-13 19:33:21 +02:00
parent e4cff3746d
commit dec26a6a2d
3 changed files with 60 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
FROM python:3.6
ENV VERSION 0.10.0
RUN mkdir -p /opt/websockify \
&& curl -SL https://github.com/novnc/websockify/archive/refs/tags/v$VERSION.tar.gz \
| tar xzC /opt/websockify
RUN python -m pip install 'numpy<1.17' redis simplejson jwcrypto
VOLUME /data
EXPOSE 80
EXPOSE 443
WORKDIR /opt/websockify
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["--help"]