From e00847d35fc6f751b48f89d8688b68ae2e9e561b Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sat, 7 Oct 2023 23:04:44 -0400 Subject: [PATCH] Initial Dockerfile --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Dockerfile b/Dockerfile index e69de29..04cfd7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -0,0 +1,18 @@ +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 +RUN zef install --deps-only . + +# Finish setting up the environment +EXPOSE 3000 + +CMD ["raku", "bin/hyperlink-redirect]