Skip to content

Commit fe7dd96

Browse files
committed
πŸ› Fix agent market disconnected 2
1 parent e5dac2e commit fe7dd96

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

β€Ždocker/docker-compose.prod.ymlβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ services:
272272
mc admin policy attach myadmin readwrite --user=$MINIO_ACCESS_KEY
273273
mc mb myadmin/$MINIO_DEFAULT_BUCKET
274274
mc anonymous set download myadmin/$MINIO_DEFAULT_BUCKET
275+
mc ilm rule add myadmin/$MINIO_DEFAULT_BUCKET --prefix 'preview/' --expiry-days 7 --id expire-converted-pdfs
275276
wait $$MINIO_PID
276277
"
277278

β€Žmake/web/Dockerfileβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ WORKDIR /opt/frontend
1919
RUN --mount=type=cache,id=npm-cache,target=/root/.npm,sharing=locked \
2020
--mount=type=cache,id=node-modules,target=/opt/frontend/node_modules,sharing=locked \
2121
if [ -n "$MIRROR" ]; then npm config set registry "$MIRROR"; fi && \
22-
# Remove pnpm lockfile to avoid conflict with npm
23-
rm -f package-lock.json pnpm-lock.yaml && \
2422
npm install --verbose && \
2523
NODE_ENV=production npm run build && \
2624
mkdir -p ../frontend-dist && \

0 commit comments

Comments
Β (0)