Hyperlink-Redirect/Dockerfile

25 lines
605 B
Docker
Raw Permalink Normal View History

2024-01-06 13:45:20 -05:00
FROM docker.io/rakudo-star:2023.08
2023-10-07 23:04:44 -04:00
# 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-07 23:47:09 -04:00
RUN apt-get -y install libssl-dev libarchive-dev
2024-01-06 13:45:20 -05:00
# Tests failing cope
RUN zef -v install --force-test IO::Socket::Async::SSL \
NativeHelpers::Callback \
Archive::Libarchive::Raw
2023-10-07 23:47:09 -04:00
RUN zef -v install --deps-only .
2023-10-07 23:04:44 -04:00
# Finish setting up the environment
2024-01-06 13:22:57 -05:00
ENV HUMMING_BIRD_ENV='PROD'
2023-10-07 23:04:44 -04:00
EXPOSE 3000
2023-11-01 01:41:00 -04:00
CMD ["raku", "bin/hyperlink-redirect"]