fix(docker): remove libredwg (not in Alpine repos), DWG→DXF gracefully disabled

This commit is contained in:
AI Assistant
2026-03-08 21:47:44 +02:00
parent 12b7bca990
commit 893daea485
+3 -2
View File
@@ -29,9 +29,10 @@ WORKDIR /app
ENV NODE_ENV=production
# GDAL/ogr2ogr for GeoPackage export, libredwg for DWG→DXF,
# GDAL/ogr2ogr for GeoPackage export,
# ghostscript+qpdf for extreme PDF compression (direct, not via Stirling)
RUN apk add --no-cache gdal gdal-tools libredwg ghostscript qpdf
# Note: libredwg not available in Alpine repos — DWG→DXF disabled in Docker
RUN apk add --no-cache gdal gdal-tools ghostscript qpdf
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs