Add MaterializeCSS styles (#1)

## Changes
* Adds the [AssetPack](https://metacpan.org/pod/Mojolicious::Plugin::AssetPack) Mojolicious plugin
* Adds the [MaterializeCSS](https://www.npmjs.com/package/materialize-css) Node package
* Applies styles to app

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-07-31 03:07:33 +00:00
parent d2cecc1523
commit 203a53cb32
10 changed files with 102 additions and 8 deletions

View File

@@ -1,3 +1,11 @@
FROM node:latest
WORKDIR /opt/mojo_app/
COPY mojo_app/package.json .
COPY mojo_app/package-lock.json .
RUN npm install
FROM perl:latest
WORKDIR /opt/app/
@@ -6,11 +14,11 @@ COPY cpanfile .
COPY cpanfile.snapshot .
COPY mojo_app ./mojo_app/
RUN cpanm Carton && carton install
RUN cpanm -nv Carton && carton install
WORKDIR /opt/app/mojo_app/
COPY --from=0 /opt/mojo_app/ .
EXPOSE 3000
WORKDIR /opt/app/mojo_app/
ENTRYPOINT ["carton", "exec", "--", "morbo", "script/mojo_app"]