mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-10-04 01:40:12 +02:00
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:
parent
f3a6147ffd
commit
40c610fb1c
@ -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 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user