Felix Niederwanger
dc7bbab719
Use BCI images because of build errors uing the golang:alpine container in buildah. Also because it's awesome. Have a lot of fun ...
12 lines
365 B
Docker
12 lines
365 B
Docker
FROM registry.suse.com/bci/golang:stable AS builder
|
|
WORKDIR /app
|
|
ADD . /app
|
|
RUN cd /app && make requirements && make ot-browser
|
|
|
|
FROM registry.suse.com/bci/bci-micro
|
|
WORKDIR /app
|
|
COPY --from=builder /app/www /www
|
|
COPY --from=builder /app/ot-browser /usr/bin/ot-browser
|
|
ENTRYPOINT ["/usr/bin/ot-browser", "-w", "/www", "-c", "/conf/ot-browser.ini"]
|
|
VOLUME ["/conf"]
|