~patrickb/RakudoContainerfileBuilder

4b5d7563a78a7223b212e219d5a8f06d2cfd455b — Patrick Böker 2 years ago f0aea91
Tune Container example in README some more
1 files changed, 5 insertions(+), 3 deletions(-)

M README.md
M README.md => README.md +5 -3
@@ 22,13 22,15 @@ The following example Containerfile showcases that.
    FROM rakudo-zef:2020.12 AS build

    RUN mkdir /app
    COPY . /app
    WORKDIR /app

    # Install dependencies
    # Install deps separately first to not trash the podman cache on every
    # source change.
    COPY META6.json .
    RUN zef install --deps-only .

    # Precompile app
    # Now copy and compile the actual app.
    COPY . /app
    RUN raku -c -I. service.raku

    # FINAL STAGE #########################