Browse Source

Update Dockerfile to include userdata folder

pocketjawa 1 year ago
parent
commit
93ec2c8380
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -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