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