diff --git a/docker/reporter/Dockerfile b/docker/reporter/Dockerfile index 343b2eb..1737408 100644 --- a/docker/reporter/Dockerfile +++ b/docker/reporter/Dockerfile @@ -22,6 +22,13 @@ COPY --from=builder /usr/local/bin/oculus_filter /usr/local/bin/oculus_filter # Change ownership of the binaries to the unprivileged user RUN chown oculus:oculus /usr/local/bin/go-glitch /usr/local/bin/oculus_main /usr/local/bin/oculus_filter +# Create the diffs directory and set the appropriate permissions +RUN mkdir /diffs && chown oculus:oculus /diffs + +# Set the working directory and change its ownership +WORKDIR /home/oculus +RUN chown oculus:oculus /home/oculus + # Switch to the unprivileged user USER oculus