FROM ghost:5-alpine as cloudinary RUN apk add g++ make python3 COPY --chown=node:node . /tmp/ghost-storage-cloudinary RUN su-exec node yarn add file:/tmp/ghost-storage-cloudinary FROM ghost:5-alpine COPY --chown=node:node --from=cloudinary $GHOST_INSTALL/node_modules $GHOST_INSTALL/node_modules COPY --chown=node:node --from=cloudinary $GHOST_INSTALL/node_modules/ghost-storage-cloudinary $GHOST_INSTALL/content/adapters/storage/ghost-storage-cloudinary ENV DEBUG="ghost:*,ghost-config,ghost-storage-cloudinary:*" ARG CLOUDINARY_URL ENV CLOUDINARY_URL=${CLOUDINARY_URL} ENV NODE_ENV=development COPY <