Fix: GameDig widget missing lib

Fixed GameDig widget Error: Cannot find module './lib/freeze'
This commit is contained in:
fredodiable 2023-08-13 18:44:28 +02:00
parent 6da3b73e96
commit 822625b2bb
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@
**/compose* **/compose*
**/Dockerfile* **/Dockerfile*
**/node_modules **/node_modules
!node_modules/.pnpm/compressjs@*/**
**/npm-debug.log **/npm-debug.log
**/obj **/obj
**/secrets.dev.yaml **/secrets.dev.yaml

View File

@ -48,6 +48,7 @@ WORKDIR /app
# Copy files from context (this allows the files to copy before the builder stage is done). # Copy files from context (this allows the files to copy before the builder stage is done).
COPY --link --chown=1000:1000 package.json next.config.js ./ COPY --link --chown=1000:1000 package.json next.config.js ./
COPY --link --chown=1000:1000 /public ./public/ COPY --link --chown=1000:1000 /public ./public/
COPY --link ./node_modules/.pnpm/compressjs@1.0.3/node_modules/compressjs/lib/ ./node_modules/.pnpm/compressjs@1.0.3/node_modules/compressjs/lib/
# Copy files from builder # Copy files from builder
COPY --link --from=builder --chown=1000:1000 /app/.next/standalone ./ COPY --link --from=builder --chown=1000:1000 /app/.next/standalone ./