From ea813bd103c8cbbfa6edc0a26fbe6c60c7fd2b2e Mon Sep 17 00:00:00 2001 From: quoije Date: Wed, 29 Dec 2021 21:49:13 -0500 Subject: [PATCH] wow des fichiers --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..744be6c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM alpine/git:latest +MAINTAINER mathieumoran1@gmail.com +RUN apk fix +RUN apk add --update nodejs npm +RUN npm install pm2 -g +RUN git clone https://github.com/chriscarreau/resistance-online.git +WORKDIR resistance-online +RUN npm install +RUN npm run build +EXPOSE 8080 +ENTRYPOINT ["pm2-runtime","./dist/app/index.js"]