mount data volume
This commit is contained in:
parent
b6ec28ee29
commit
3d99879a1b
|
@ -5,6 +5,7 @@ RUN cargo install --path .
|
|||
|
||||
FROM alpine
|
||||
|
||||
WORKDIR /opt/data
|
||||
COPY --from=builder /usr/local/cargo/bin/gitea-bot /bin/gitea-bot
|
||||
|
||||
RUN [ "gitea-bot" ]
|
|
@ -5,3 +5,5 @@ services:
|
|||
context: .
|
||||
dockerfile: Dockerfile
|
||||
restart: always
|
||||
volumes:
|
||||
- './:/opt/data'
|
Loading…
Reference in New Issue