Something went wrong. Try again.
:rocket: A fully-featured and deeply tested Cloudinary Ghost storage adapter ghost.org/integrations/cloudinary
Something went wrong. Try again.
ghost-storage-cloudinary Dockerfile.test
1.6 kB · 48 lines
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849FROM ghost:5-alpine as cloudinaryRUN apk add g++ make python3COPY --chown=node:node . /tmp/ghost-storage-cloudinaryRUN su-exec node yarn add file:/tmp/ghost-storage-cloudinary
FROM ghost:5-alpineCOPY --chown=node:node --from=cloudinary $GHOST_INSTALL/node_modules $GHOST_INSTALL/node_modulesCOPY --chown=node:node --from=cloudinary $GHOST_INSTALL/node_modules/ghost-storage-cloudinary $GHOST_INSTALL/content/adapters/storage/ghost-storage-cloudinaryENV DEBUG="ghost:*,ghost-config,ghost-storage-cloudinary:*"ARG CLOUDINARY_URLENV CLOUDINARY_URL=${CLOUDINARY_URL}ENV NODE_ENV=developmentCOPY <<EOF /var/lib/ghost/config.development.json{ "url": "http://localhost:2368", "database": {"client": "sqlite3"}, "logging": { "level": "debug", "transports": ["stdout"] }, "server": {"host": "0.0.0.0"}, "paths": {"contentPath": "/var/lib/ghost/content/"}, "imageOptimization": {"resize": false}, "storage": { "active": "ghost-storage-cloudinary", "ghost-storage-cloudinary": { "upload": { "use_filename": true, "unique_filename": false, "overwrite": false, "folder": "test", "tags": ["test"] }, "fetch": { "transformation": "blog", "secure": false, "cdn_subdomain": true }, "plugins": { "retinajs": { "fireForget": true, "baseWidth": 500 } } } }}EOF