From 059a57892a9c40001bf8d8b00df38bc1cdb2be71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20K=C3=B6ster?= <soenke@fsmpi.rwth-aachen.de> Date: Tue, 12 Mar 2024 01:00:37 +0100 Subject: [PATCH] Deploy magic --- Containerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Containerfile diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..0189855 --- /dev/null +++ b/Containerfile @@ -0,0 +1,11 @@ +FROM alpine:latest + +RUN apk update && apk upgrade && apk add git nodejs-current npm pkgconf python3 pixman-dev cairo-dev pango-dev make g++ +WORKDIR /app +RUN git clone --branch master https://git.fsmpi.rwth-aachen.de/aaron/esa-temp-copy . +RUN npm i +RUN npm audit fix +RUN npm run build + +EXPOSE 3000 +CMD ["/bin/sh", "-c", "git pull && npm i && npm audit fix && npm run build && node /app/build/index.js"] -- GitLab