Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM alpine/git as cloner
- RUN git clone https://github.com/bytedance/unpub /var/git/unpub
- FROM dart:2.16 as build
- ARG DEBIAN_FRONTEND=noninteractive
- RUN apt-get update \
- && apt-get install -yq make
- COPY --from=cloner /var/git/unpub /opt/unpub
- WORKDIR /opt/unpub
- ARG PATH="$PATH":"/root/.pub-cache/bin"
- RUN cd unpub_web \
- && dart pub get \
- && cd - \
- && cd unpub_auth \
- && dart pub get \
- && cd - \
- && cd unpub \
- && cd -
- RUN make build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement