Skip to content

Commit ea9f03c

Browse files
committed
Fix Dockerfiles
1 parent 6b5a772 commit ea9f03c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ ARG FOLDER=/app
44
FROM ghost:alpine
55

66
COPY --chown=1000:1000 . /app
7-
COPY --chown=1000:1000 ./.diploi/diploi-storage-adapter.js /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
7+
COPY --chown=1000:1000 ./.diploi/DiploiFilesStorage.js /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
8+
COPY --chown=1000:1000 ./.diploi/DiploiImagesStorage.js /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
9+
COPY --chown=1000:1000 ./.diploi/DiploiMediaStorage.js /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
810

911
ENV NODE_ENV=production
1012
ENV paths__contentPath=${FOLDER}

Dockerfile.dev

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ ARG FOLDER=/app
44
FROM ghost:alpine
55

66
COPY --chown=1000:1000 . /app
7-
COPY --chown=1000:1000 ./.diploi/diploi-storage-adapter.js /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
7+
COPY --chown=1000:1000 ./.diploi/DiploiFilesStorage.js /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
8+
COPY --chown=1000:1000 ./.diploi/DiploiImagesStorage.js /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
9+
COPY --chown=1000:1000 ./.diploi/DiploiMediaStorage.js /var/lib/ghost/versions/$GHOST_VERSION/core/server/adapters/storage/
810

911
ENV NODE_ENV=development
1012
ENV paths__contentPath=${FOLDER}

0 commit comments

Comments
 (0)