keel/Dockerfile

23 lines
422 B
Docker
Raw Normal View History

2020-04-19 18:07:49 +00:00
FROM golang:1.14.2
2017-11-01 18:25:28 +00:00
COPY . /go/src/github.com/keel-hq/keel
WORKDIR /go/src/github.com/keel-hq/keel
2017-12-12 22:19:44 +00:00
RUN make install
2017-06-14 17:09:24 +00:00
2019-05-28 11:45:55 +00:00
FROM node:9.11.1-alpine
WORKDIR /app
COPY ui /app
RUN yarn
RUN yarn run lint --no-fix
RUN yarn run build
2017-06-10 11:23:07 +00:00
FROM alpine:latest
RUN apk --no-cache add ca-certificates
2019-05-28 11:45:55 +00:00
VOLUME /data
ENV XDG_DATA_HOME /data
2017-12-12 00:04:52 +00:00
COPY --from=0 /go/bin/keel /bin/keel
2019-05-28 11:45:55 +00:00
COPY --from=1 /app/dist /www
2017-06-10 11:23:07 +00:00
ENTRYPOINT ["/bin/keel"]
2020-04-19 18:07:49 +00:00
EXPOSE 9300