-
-
Save Altai-man/89e8181b2d22054adfffcbd6ac1ad01e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM fedora:32 | |
RUN mkdir /app | |
COPY . /app | |
WORKDIR /app | |
RUN yum install -y nodejs graphviz openssl-devel redhat-lsb-core | |
RUN echo -e "[rakudo-pkg]\nname=rakudo-pkg\nbaseurl=https://dl.bintray.com/nxadm/rakudo-pkg-rpms/`lsb_release -is`/`lsb_release -rs| cut -d. -f1`/x86_64\ngpgcheck=0\nenabled=1" | sudo tee -a /etc/yum.repos.d/rakudo-pkg.repo | |
RUN dnf install -y rakudo-pkg | |
RUN /opt/rakudo-pkg/bin/install-zef-as-user | |
ENV DOCKY_PORT="10000" DOCKY_HOST="0.0.0.0" PATH="~/.raku/bin:${PATH}" | |
RUN zef update | |
RUN zef install --deps-only . && raku -c -Ilib service.p6 | |
EXPOSE 10000 | |
CMD raku -Ilib service.p6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment