mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
19 lines
394 B
Docker
19 lines
394 B
Docker
FROM kennethreitz/bake:core
|
|
|
|
ARG DEBIAN_FRONTEND='noninteractive'
|
|
|
|
ENV BAKEFILE_PATH /app/Bakefile
|
|
|
|
# -- Install latest Bake.
|
|
RUN set -ex && \
|
|
pip3 install bake-cli --upgrade --quiet > /dev/null && \
|
|
rm -fr /var/lib/apt/lists
|
|
|
|
# -- Copy Bakefile of depending Dockerfiles.
|
|
ONBUILD COPY ./Bakefile /app/Bakefile
|
|
|
|
# -- Copy the application over.
|
|
ONBUILD COPY . /app
|
|
|
|
ENTRYPOINT [ "bake" ]
|