FROM docker.io/rakudo-star:2023.08 # Move it WORKDIR /opt COPY bin/ ./bin/ COPY lib/ ./lib/ COPY META6.json ./META6.json COPY templates/ ./templates/ # Dependency time RUN apt-get update RUN apt-get -y upgrade RUN apt-get -y install libssl-dev libarchive-dev # Tests failing cope RUN zef -v install --force-test IO::Socket::Async::SSL \ NativeHelpers::Callback \ Archive::Libarchive::Raw RUN zef -v install --deps-only . # Finish setting up the environment ENV HUMMING_BIRD_ENV='PROD' EXPOSE 3000 CMD ["raku", "bin/hyperlink-redirect"]