diff --git a/docker/Dockerfile b/docker/Dockerfile index 1625263d..43112a1e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -63,13 +63,13 @@ RUN cd ./frontend/ && yarn build && yarn cache clean # Setup the server FROM server-deps as production-stage -COPY ./server/ ./server/ +COPY --chown=anythingllm:anythingllm ./server/ ./server/ # Copy built static frontend files to the server public directory COPY --from=build-stage /app/frontend/dist ./server/public # Copy the collector -COPY ./collector/ ./collector/ +COPY --chown=anythingllm:anythingllm ./collector/ ./collector/ # Install collector dependencies RUN cd /app/collector && \