2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-31 18:17:25 +01:00
This commit is contained in:
kev
2014-12-06 17:54:16 +08:00
parent d213e955cb
commit f30964626d

View File

@@ -1,14 +1,12 @@
FROM ubuntu:14.04
MAINTAINER kev
ADD https://deb.nodesource.com/setup /
RUN bash setup
RUN apt-get install -y build-essential nodejs wget unzip
WORKDIR /tmp
RUN wget https://ghost.org/zip/ghost-latest.zip
ADD https://deb.nodesource.com/setup /tmp/
ADD https://ghost.org/zip/ghost-latest.zip /tmp/
RUN bash setup
RUN apt-get install -y build-essential nodejs unzip
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