chore: update Dockerfile to include curl and improve entrypoint permissions

- Added curl to the Dockerfile for enhanced functionality.
- Ensured the docker-entrypoint.sh script has executable permissions.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-11-24 18:53:40 +08:00
parent 58a989c1e4
commit 0b51776899

View File

@@ -38,6 +38,7 @@ WORKDIR /app
# - vips: runtime library for sharp
# - libheif: enable HEIF/HEIC support in libvips when available
RUN apk add --no-cache \
curl \
perl \
exiftool \
perl-image-exiftool \
@@ -55,6 +56,7 @@ COPY --from=builder /workspace/be/packages/db/migrations ./migrations
COPY --from=builder /workspace/be/apps/core/docker-entrypoint.sh ./docker-entrypoint.sh
COPY --from=builder /workspace/patches/ ./patches/
RUN chmod +x ./docker-entrypoint.sh
RUN if [ -f dist/package.json ]; then \