From 043568278895b0bbb096be4da0a21dca4dd54d85 Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 29 Jul 2016 09:03:01 +0800 Subject: [PATCH] upgrade ghost-arm to 0.9.0 --- ghost/arm/Dockerfile | 6 +++--- ghost/arm/docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ghost/arm/Dockerfile b/ghost/arm/Dockerfile index bce1732..229f9c2 100644 --- a/ghost/arm/Dockerfile +++ b/ghost/arm/Dockerfile @@ -5,7 +5,7 @@ FROM easypi/alpine-arm MAINTAINER EasyPi Software Foundation -ENV GHOST_VER 0.7.9 +ENV GHOST_VER 0.9.0 ENV GHOST_URL https://ghost.org/archives/ghost-$GHOST_VER.zip ENV GHOST_SOURCE /usr/src/ghost ENV GHOST_CONTENT /var/lib/ghost @@ -15,7 +15,7 @@ VOLUME $GHOST_CONTENT RUN set -ex \ && apk add -U bash \ - nodejs \ + nodejs-lts \ && apk add -t TMP build-base \ curl \ python \ @@ -32,4 +32,4 @@ COPY docker-entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] EXPOSE 2368 -CMD ["npm", "start"] +CMD ["npm", "start", "--production"] diff --git a/ghost/arm/docker-compose.yml b/ghost/arm/docker-compose.yml index 3732a34..ae2167f 100644 --- a/ghost/arm/docker-compose.yml +++ b/ghost/arm/docker-compose.yml @@ -1,5 +1,5 @@ ghost: - image: vimagick/ghost-arm + image: easypi/ghost-arm ports: - "2368:2368" restart: always