diff options
author | Johannes Zellner <johannes@nebulon.de> | 2015-06-27 18:23:40 +0200 |
---|---|---|
committer | Johannes Zellner <johannes@nebulon.de> | 2015-06-27 18:23:40 +0200 |
commit | c88ec639a906f57dc11c7a64b5622beb448d5fd6 (patch) | |
tree | f50b551d2ca08b4d718b7a1196d8dd80f5639d8d /Dockerfile | |
parent | eb83e4daa3726d3e7f12c513a19d212b709dadff (diff) | |
download | Surfer-c88ec639a906f57dc11c7a64b5622beb448d5fd6.tar.gz Surfer-c88ec639a906f57dc11c7a64b5622beb448d5fd6.tar.zst Surfer-c88ec639a906f57dc11c7a64b5622beb448d5fd6.zip |
Make a cloudron app
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"] | ||