File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ dockers:
5252 dockerfile : Dockerfile.goreleaser
5353 use : buildx
5454 extra_files :
55- - config.yml
55+ - data/ config.yml
5656 - Frontend/static
5757
5858 - goos : linux
@@ -62,7 +62,7 @@ dockers:
6262 dockerfile : Dockerfile.goreleaser
6363 use : buildx
6464 extra_files :
65- - config.yml
65+ - data/ config.yml
6666 - Frontend/static
6767
6868docker_manifests :
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ COPY . /build/
66WORKDIR /build/
77
88RUN mkdir -p /app/static && \
9- mv QuickNote config.yml /app/ && \
9+ mv QuickNote /app/ && \
10+ mv config.yml /app/data && \
1011 mv * /app/static/ && \
1112 find /app -type d -print0 | xargs -0 chmod 555 && \
1213 find /app -type f -print0 | xargs -0 chmod 444 && \
Original file line number Diff line number Diff line change @@ -6,4 +6,7 @@ services:
66 ports :
77 - " 3000:3000"
88 volumes :
9- - ./data:/opt/quicknote/data
9+ - quicknote_data:/opt/quicknote/data
10+
11+ volumes :
12+ quicknote_data:
You can’t perform that action at this time.
0 commit comments