UNPKG

583 BPlain TextView Raw
1
2###
3# Avian Docker Image
4###
5
6FROM alpine:latest as Avian
7LABEL name="Avian"
8LABEL description="Create Enterprise-class component driven applications that scale."
9LABEL version="latest"
10
11RUN apk update
12RUN apk add bash alpine-sdk coreutils git python3 nodejs npm
13
14WORKDIR /tmp
15RUN git clone https://github.com/flypapertech/avian
16WORKDIR /tmp/avian
17RUN npm install
18RUN npm run build
19RUN npm run test
20RUN npm install -g webpack
21RUN npm install -g .
22
23ENV AVIAN_APP_HOME /usr/lib/node_modules/@flypapertech/avian/examples/hello-world
24WORKDIR ${AVIAN_APP_HOME}
25EXPOSE 8080
26CMD ["avian"]