mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
Update Dockerfile
* Add volume to docker compose file
This commit is contained in:
+8
-2
@@ -16,13 +16,19 @@ RUN apk add --no-cache curl bash
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy apps
|
||||
COPY --from=builder /app/apps/server/dist /app/apps/server/dist
|
||||
COPY --from=builder /app/apps/client/dist /app/apps/client/dist
|
||||
COPY --from=builder /app/apps/server/package.json /app/apps/server/package.json
|
||||
|
||||
# Copy packages
|
||||
COPY --from=builder /app/packages/editor-ext/dist /app/packages/editor-ext/dist
|
||||
COPY --from=builder /app/packages/editor-ext/package.json /app/packages/editor-ext/package.json
|
||||
|
||||
# Copy root package files
|
||||
COPY --from=builder /app/package.json /app/package.json
|
||||
COPY --from=builder /app/packages/ /app/packages/
|
||||
COPY --from=builder /app/pnpm*.yaml /app/
|
||||
# should optimize packages
|
||||
|
||||
RUN npm install -g pnpm
|
||||
|
||||
RUN chown -R node:node /app
|
||||
|
||||
Reference in New Issue
Block a user