diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000000000000000000000000000000000000..0189855dd6910a3a83e89c9853646f079b7c0861 --- /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"]