Skip to content
Snippets Groups Projects
Commit 5a42fd69 authored by Aaron Dötsch's avatar Aaron Dötsch
Browse files

Merge branch 'deploy-magic' into 'master'

Deploy magic

See merge request !1
parents aa16d45e 059a5789
Branches
No related tags found
1 merge request!1Deploy magic
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"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment