mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 22:48:17 +00:00
feat(docker): add patches directory to Dockerfile for core and builder stages
- Included a new COPY command to transfer patches into the Docker image. - Ensured that patches are available in both core and builder stages for application consistency. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -12,6 +12,7 @@ COPY package.json pnpm-workspace.yaml pnpm-lock.yaml ./
|
||||
COPY be/apps/core/package.json be/apps/core/package.json
|
||||
COPY be/apps/dashboard/package.json be/apps/dashboard/package.json
|
||||
COPY apps/web/package.json apps/web/package.json
|
||||
COPY patches/ ./patches/
|
||||
|
||||
RUN pnpm fetch --filter core...
|
||||
RUN pnpm fetch --filter '@afilmory/web...'
|
||||
@@ -51,6 +52,7 @@ ENV EXIFTOOL_PATH=/usr/local/bin/exiftool
|
||||
COPY --from=builder /workspace/be/apps/core/dist ./dist
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user