mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-04-27 12:22:42 +02:00
add ghost
This commit is contained in:
parent
0a6d477038
commit
832579a565
19
ghost/Dockerfile
Normal file
19
ghost/Dockerfile
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
FROM ubuntu:14.04
|
||||||
|
MAINTAINER kev
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y nodejs npm wget unzip
|
||||||
|
|
||||||
|
WORKDIR /tmp
|
||||||
|
RUN wget https://ghost.org/zip/ghost-latest.zip
|
||||||
|
RUN unzip ghost-latest.zip -d /ghost
|
||||||
|
RUN rm ghost-latest.zip
|
||||||
|
|
||||||
|
WORKDIR /ghost
|
||||||
|
RUN sed 's/127.0.0.1/0.0.0.0/' config.example.js > config.js
|
||||||
|
RUN npm install --production
|
||||||
|
|
||||||
|
VOLUMN /ghost/content/data/
|
||||||
|
EXPOSE 2368
|
||||||
|
|
||||||
|
CMD NODE_ENV=production npm start
|
Loading…
x
Reference in New Issue
Block a user