diff options
| author | Mikkel Thestrup <mikkel_thestrup@mithe.dk> | 2025-12-06 23:20:13 +0100 |
|---|---|---|
| committer | Mikkel Thestrup <mikkel_thestrup@mithe.dk> | 2025-12-06 23:20:13 +0100 |
| commit | d243b30606673baec988c5cd0a31e450f2794ca4 (patch) | |
| tree | a9bee187e9b968fe5a13e048a1c222c4d448094c /docker-compose.yml | |
| parent | 94646c018dfc87a7f1f9e11dc3e85d1af57899f0 (diff) | |
| download | web-portfolio-d243b30606673baec988c5cd0a31e450f2794ca4.tar.gz web-portfolio-d243b30606673baec988c5cd0a31e450f2794ca4.zip | |
Containerize the webserver
Diffstat (limited to '')
| -rw-r--r-- | docker-compose.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0709354 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,14 @@ +services: + web: + build: + context: . + dockerfile: Dockerfile + ports: + - "8080:8080" + environment: + - PORT=8080 + volumes: + - ./views:/app/views + - ./css:/app/css + - ./js:/app/js + restart: unless-stopped |