Add initial project structure with Docker setup, SOLID principles, and video player implementation
- 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.
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
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;"]
|
||||
Reference in New Issue
Block a user