Solving permissions issue with collector/outputs and server/storage (#182)

Solving permissions issue with collector/outputs and server/storage when
deploying freshly with docker-compose.
This commit is contained in:
Erich Focht 2023-08-10 19:37:38 +02:00 committed by GitHub
parent f3a6147ffd
commit 40c610fb1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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