diff options
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,17 +1,15 @@ | |||
1 | FROM cloudron/base:0.9.0 | 1 | FROM cloudron/base:0.10.0 |
2 | MAINTAINER Johannes Zellner <johannes@nebulon.de> | 2 | MAINTAINER Johannes Zellner <johannes@nebulon.de> |
3 | 3 | ||
4 | ENV PATH /usr/local/node-4.2.6/bin:$PATH | 4 | ENV PATH /usr/local/node-6.9.5/bin:$PATH |
5 | 5 | ||
6 | RUN mkdir -p /app/code | 6 | RUN mkdir -p /app/code |
7 | WORKDIR /app/code | 7 | WORKDIR /app/code |
8 | 8 | ||
9 | ADD src /app/code/src | 9 | ADD src /app/code/src |
10 | ADD frontend /app/code/frontend | 10 | ADD frontend /app/code/frontend |
11 | ADD package.json server.js start.sh README.md /app/code/ | 11 | ADD package.json server.js start.sh /app/code/ |
12 | 12 | ||
13 | RUN npm install --production | 13 | RUN npm install --production |
14 | 14 | ||
15 | EXPOSE 3000 | ||
16 | |||
17 | CMD [ "/app/code/start.sh" ] | 15 | CMD [ "/app/code/start.sh" ] |