2020-03-02 23:44:15 +00:00
|
|
|
FROM node:lts-alpine as ui
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ui /app
|
|
|
|
RUN yarn
|
|
|
|
RUN yarn run lint --no-fix
|
|
|
|
RUN yarn run build
|
|
|
|
|
|
|
|
FROM arm32v7/debian:buster
|
2018-10-07 15:50:56 +00:00
|
|
|
ADD ca-certificates.crt /etc/ssl/certs/
|
2018-10-14 13:00:55 +00:00
|
|
|
COPY cmd/keel/release/keel-linux-arm /bin/keel
|
2020-03-02 23:44:15 +00:00
|
|
|
COPY --from=ui /app/dist /www
|
|
|
|
VOLUME /data
|
|
|
|
ENV XDG_DATA_HOME /data
|
|
|
|
|
|
|
|
EXPOSE 9300
|
2018-10-14 13:00:55 +00:00
|
|
|
ENTRYPOINT ["/bin/keel"]
|