Update Dockerfile to include userdata folder

pull/22/head
pocketjawa 2020-10-10 16:04:37 -04:00
parent 0b21bf0bb3
commit 93ec2c8380
1 changed files with 2 additions and 0 deletions

View File

@ -8,4 +8,6 @@ FROM alpine:latest
run apk add --no-cache ca-certificates
WORKDIR /app
COPY --from=build /go/bin/discord-pocketbot discord-pocketbot
RUN mkdir /app/userdata
VOLUME /app/userdata
CMD ./discord-pocketbot