Dockerfile 319 B

1234567891011121314151617181920
  1. FROM ubuntu:focal
  2. RUN \
  3. apt-get update && \
  4. apt-get install --yes \
  5. python3 \
  6. python3-pip \
  7. python3-venv \
  8. wget
  9. RUN \
  10. python3 -m venv /opt/http2xmpp && \
  11. . /opt/http2xmpp/bin/activate && \
  12. pip install wheel && \
  13. pip install slixmpp
  14. EXPOSE 8080
  15. USER 1000
  16. CMD /opt/http2xmpp/server/run.sh