diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..80ecadf --- /dev/null +++ b/Dockerfile | |||
@@ -0,0 +1,16 @@ | |||
1 | FROM cloudron/base:0.3.0 | ||
2 | MAINTAINER Johannes Zellner <johannes@nebulon.de> | ||
3 | |||
4 | ENV DEBIAN_FRONTEND noninteractive | ||
5 | |||
6 | RUN mkdir -p /app/code | ||
7 | WORKDIR /app/code | ||
8 | |||
9 | ADD package.json /app/code/package.json | ||
10 | ADD src /app/code/src | ||
11 | ADD app.js /app/code/app.js | ||
12 | RUN npm install | ||
13 | |||
14 | EXPOSE 3000 | ||
15 | |||
16 | CMD [ "nodejs", "app.js"] | ||