Skip to content

Commit

Permalink
Install @mojojs/core from local checkout in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Oct 5, 2023
1 parent ec28f76 commit 7ff0bda
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@ COPY views ./views
COPY news ./news

RUN wget https://github.com/mojolicious/mojo.js/archive/refs/heads/main.tar.gz && tar xvf main.tar.gz
WORKDIR /opt/mojojs/mojo.js-main
RUN npm i && npm run build

RUN find .
WORKDIR /opt/mojojs
#RUN find .

# install local checkout of @mojojs/core which overrides in package.json
RUN npm i ./mojo.js-main
RUN npm i
RUN npm run build:reference

Expand Down

0 comments on commit 7ff0bda

Please sign in to comment.