- Created .gitignore to exclude logs and build artifacts. - Added Dockerfile and docker-compose.yml for containerized deployment. - Implemented a video player following SOLID principles with classes for video source, audio control, and volume meter. - Introduced interfaces for audio, video source, and volume meter to ensure adherence to Interface Segregation Principle. - Developed main entry point and HTML structure for the video player application. - Included TypeScript configuration and package.json for project dependencies.
14 lines
435 B
Docker
14 lines
435 B
Docker
FROM nginx:latest
|
|
|
|
COPY dist/ /usr/share/nginx/html
|
|
|
|
LABEL traefik.enable=true
|
|
LABEL traefik.http.routers.techniker-me.entrypoints=https
|
|
LABEL traefik.http.routers.techniker-me.rule=Host(`techniker.me`)
|
|
LABEL traefik.http.routers.techniker-me.tls=true
|
|
LABEL traefik.http.routers.techniker-me.tls.certresolver=cloudflare
|
|
LABEL traefik.http.services.techniker-me.loadbalancer.server.port=80
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"] |