2023-10-08 03:04:44 +00:00
|
|
|
FROM 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
|
2023-10-08 03:47:09 +00:00
|
|
|
RUN apt-get -y install libssl-dev libarchive-dev
|
|
|
|
# Stupid tests failing idk
|
|
|
|
RUN zef -v install --force-test IO::Socket::Async::SSL \
|
|
|
|
Archive::Libarchive::Raw NativeHelpers::Callback
|
2023-11-01 05:41:00 +00:00
|
|
|
# Get the latest and greatest for bug fix
|
|
|
|
# https://github.com/rawleyfowler/Humming-Bird/issues/60#issuecomment-1788351265
|
|
|
|
RUN zef install https://github.com/rawleyfowler/Humming-Bird.git --force-install
|
2023-10-08 03:47:09 +00:00
|
|
|
RUN zef -v install --deps-only .
|
2023-10-08 03:04:44 +00:00
|
|
|
|
|
|
|
# Finish setting up the environment
|
|
|
|
EXPOSE 3000
|
|
|
|
|
2023-11-01 05:41:00 +00:00
|
|
|
CMD ["raku", "bin/hyperlink-redirect"]
|