File tree Expand file tree Collapse file tree 6 files changed +8
-21
lines changed
Expand file tree Collapse file tree 6 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 5353 {{- if eq .Values.stage "development" }}
5454 - name : paths__contentPath
5555 value : /app/{{ .Values.identifier }}
56+ - name : NODE_ENV
57+ value : development
5658 {{- end }}
5759 - name : url
5860 value : https://{{ .Values.hosts.app }}
Original file line number Diff line number Diff line change @@ -4,11 +4,10 @@ ARG FOLDER=/app
44FROM ghost:alpine
55
66COPY --chown=1000:1000 . /app
7- COPY --chown=1000:1000 ./adapters/DiploiFilesStorage.j[s] /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
8- COPY --chown=1000:1000 ./adapters/DiploiImagesStorage.j[s] /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
9- COPY --chown=1000:1000 ./adapters/DiploiMediaStorage.j[s] /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
107
11- ENV NODE_ENV=production
8+ # Copy Diploi storage adapters to the Ghost core
9+ RUN cp ${FOLDER}/adapters/Diploi*Storage.js /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
10+
1211ENV paths__contentPath=${FOLDER}
1312
1413USER 1000:1000
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11// # Local File System Storage module
22// The (default) module for storing media, modified to use the Diploi volume mount /data
3- // This file will be moved to the /core/server/adapters/storage folder by the Dockerfiles .
3+ // This file will be moved to the /core/server/adapters/storage folder by the Dockerfile .
44const config = require ( '../../../shared/config' ) ;
55const LocalStorageBase = require ( './LocalStorageBase' ) ;
66
Original file line number Diff line number Diff line change 11// # Local File System Image Storage module
22// The (default) module for storing images, modified to use the Diploi volume mount /data
3- // This file will be moved to the /core/server/adapters/storage folder by the Dockerfiles .
3+ // This file will be moved to the /core/server/adapters/storage folder by the Dockerfile .
44const config = require ( '../../../shared/config' ) ;
55const urlUtils = require ( '../../../shared/url-utils' ) ;
66const LocalStorageBase = require ( './LocalStorageBase' ) ;
Original file line number Diff line number Diff line change 11// # Local File System Media Storage module
22// The (default) module for storing media, modified to use the Diploi volume mount /data
3- // This file will be moved to the /core/server/adapters/storage folder by the Dockerfiles .
3+ // This file will be moved to the /core/server/adapters/storage folder by the Dockerfile .
44const config = require ( '../../../shared/config' ) ;
55const LocalStorageBase = require ( './LocalStorageBase' ) ;
66
You can’t perform that action at this time.
0 commit comments