Skip to content
Snippets Groups Projects
Unverified Commit 40c610fb authored by Erich Focht's avatar Erich Focht Committed by GitHub
Browse files

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.
parent f3a6147f
No related branches found
No related tags found
No related merge requests found
...@@ -63,13 +63,13 @@ RUN cd ./frontend/ && yarn build && yarn cache clean ...@@ -63,13 +63,13 @@ RUN cd ./frontend/ && yarn build && yarn cache clean
# Setup the server # Setup the server
FROM server-deps as production-stage 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 built static frontend files to the server public directory
COPY --from=build-stage /app/frontend/dist ./server/public COPY --from=build-stage /app/frontend/dist ./server/public
# Copy the collector # Copy the collector
COPY ./collector/ ./collector/ COPY --chown=anythingllm:anythingllm ./collector/ ./collector/
# Install collector dependencies # Install collector dependencies
RUN cd /app/collector && \ RUN cd /app/collector && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment