From 1d147c3787a9b8a6352792fb070cf2f0d7bdb1d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aaron=20D=C3=B6tsch?= <aaron@fsmpi.rwth-aachen.de>
Date: Wed, 25 Sep 2024 10:21:33 +0200
Subject: [PATCH] update

---
 docker-compose.yml      | 2 ++
 src/staticFileServer.ts | 1 +
 2 files changed, 3 insertions(+)

diff --git a/docker-compose.yml b/docker-compose.yml
index 09f990f..5967c6c 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -6,6 +6,8 @@ services:
     ports:
       - 3000:3000
     restart: always
+    volumes:
+      - ./static:/app/static
     env_file:
       - .env
     environment:
diff --git a/src/staticFileServer.ts b/src/staticFileServer.ts
index f689680..ac603eb 100644
--- a/src/staticFileServer.ts
+++ b/src/staticFileServer.ts
@@ -5,6 +5,7 @@ const assets = express.static("static");
 
 const configureServer = (server=>{
 	server.middlewares.use(assets as any);
+	console.log(__dirname);
 }) as Plugin["configureServer"];
 
 export const staticFileServer = ()=>({
-- 
GitLab