moq-rs/player/Dockerfile

20 lines
478 B
Docker
Raw Normal View History

2023-02-01 13:22:35 +00:00
FROM ubuntu
# Install dependencies
RUN apt-get update && apt-get install -y nginx certbot python3-certbot-nginx
# Contains the final certificates created by certbot
VOLUME /etc/letsencrypt
# Application configuration for our site
COPY nginx/quic.video.conf /etc/nginx/conf.d/quic.video.conf
# The script to init and run nginx
COPY nginx/run.sh /run/warp-player.sh
# Copy over the web contents
COPY dist/* /var/www/quic.video
# Run the shell script
CMD /run/warp-player.sh