diff --git a/Dockerfile b/Dockerfile index 22ddb90..a13bfd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,5 @@ RUN go build FROM alpine:latest COPY --from=build /app/jaf /app/jaf WORKDIR /app +RUN mkdir -p /var/www/jaf CMD ["./jaf"] diff --git a/README.md b/README.md index 6be0c63..491c308 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Running it from the GitHub Container Registry docker run \ -p 4712:4711 \ -v /path/to/your/config.conf:/app/jaf.conf \ - -v /path/to/where/you/want/your/files/to/be/stored:/FileDir/in/your/config \ + -v /path/to/local/filedir:/var/www/jaf \ ghcr.io/leon-richardt/jaf:latest ``` @@ -70,7 +70,7 @@ docker build -t jaf . docker run \ -p 4712:4711 \ -v /path/to/your/config.conf:/app/jaf.conf \ - -v /path/to/where/you/want/your/files/to/be/stored:/FileDir/in/your/config \ + -v /path/to/local/filedir:/var/www/jaf \ jaf ```