Skip to content

Commit d017ac2

Browse files
committed
Fixed bug, temp folder permissions
1 parent c3856b9 commit d017ac2

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Publish Docker image for Kurup
22

33
on:
4+
push:
5+
branches: [main]
46
release:
57
types: [published]
68

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ COPY requirements.txt .
88

99
RUN pip install --no-cache-dir -r requirements.txt
1010
RUN mkdir -p static
11-
RUN mkdir -p temp
1211

1312
COPY main.py .
1413
COPY utils ./utils

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ This project is under active development. Please make a separate backup of your
110110

111111
```bash
112112
mkdir -p kurup/notes
113+
mkdir -p kurup/temp
113114
cd kurup
114115
```
115116

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ services:
66
- "9494:9494"
77
volumes:
88
- ./notes:/app/notes # make sure the notes folder exists before running the container‚ otherwise the folder will be owned by root.
9+
- ./temp:/app/temp # make sure the notes temp folder exists
910
# you can also use a custom path for the notes directory
1011
#- /home/yourusername/Documents/notes:/app/notes
1112
command: ["--notes_dir", "/app/notes"]

0 commit comments

Comments
 (0)