X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=Dockerfile;h=2549c3d70e99658a42b63c6b6f6e633ad6c15aef;hb=a6a9ff2a4c12e6005932a1f89b2f75d58bd6d827;hp=8b91d53c1a61356446876544081429514d06ae82;hpb=4b1efdffd9040b1fcd462ce610cb1a85882628da;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git diff --git a/Dockerfile b/Dockerfile index 8b91d53..2549c3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,12 @@ -FROM cloudron/base:0.9.0 -MAINTAINER Johannes Zellner - -ENV PATH /usr/local/node-0.12.7/bin:$PATH +FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617 RUN mkdir -p /app/code WORKDIR /app/code ADD src /app/code/src -ADD app /app/code/app -ADD cli /app/code/cli - -ADD package.json app.js start.sh README.md /app/code/ +ADD frontend /app/code/frontend +ADD package.json server.js start.sh /app/code/ RUN npm install --production -EXPOSE 3000 - CMD [ "/app/code/start.sh" ]