summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-02-14 07:17:25 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-02-14 07:17:25 +0300
commit3e8118838b43865b9707e2c52738835fda04d48a (patch)
treed0b55e36659e405aeccb23b264c0901941fda681
parent69deeefae835fa48b677297217bb622e0460401c (diff)
Docker fix
-rw-r--r--.dockerignore6
-rw-r--r--docker-compose.yml4
2 files changed, 3 insertions, 7 deletions
diff --git a/.dockerignore b/.dockerignore
index cf1e89e..f11c5d6 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,8 +1,4 @@
# database file
Database/MyDarlingDb.db
Database/MyDarlingDb.db-shm
-Database/MyDarlingDb.db-wal
-
-# wwwroot
-wwwroot/lib
-wwwroot/content \ No newline at end of file
+Database/MyDarlingDb.db-wal \ No newline at end of file
diff --git a/docker-compose.yml b/docker-compose.yml
index 707050c..250309e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -2,10 +2,10 @@ version: '3'
services:
my-darling:
- image: gitea.cebotari.ru/chebser/mydarling-dotnet:latest
+ build: .
container_name: mydarling-net
ports:
- "5050:5000"
volumes:
- ./Database:/app/Database
- - ./content:/app/wwwroot/content \ No newline at end of file
+ - ./wwwroot/content:/app/wwwroot/content \ No newline at end of file