summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorMikkel Thestrup <mikkel_thestrup@mithe.dk>2025-12-06 23:20:13 +0100
committerMikkel Thestrup <mikkel_thestrup@mithe.dk>2025-12-06 23:20:13 +0100
commitd243b30606673baec988c5cd0a31e450f2794ca4 (patch)
treea9bee187e9b968fe5a13e048a1c222c4d448094c /docker-compose.yml
parent94646c018dfc87a7f1f9e11dc3e85d1af57899f0 (diff)
downloadweb-portfolio-d243b30606673baec988c5cd0a31e450f2794ca4.tar.gz
web-portfolio-d243b30606673baec988c5cd0a31e450f2794ca4.zip
Containerize the webserver
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml14
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