Skip to content

Commit

Permalink
Merge pull request #2890 from cln-io/patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile to build vue for 5.0.0
  • Loading branch information
elegantmoose committed Mar 12, 2024
2 parents fb0611e + 1197314 commit 08c64d3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,20 @@ fi

WORKDIR /usr/src/app

# Install Node.js, npm, and other build VueJS front-end
RUN apt-get update && \
apt-get install -y nodejs npm && \
# Directly use npm to install dependencies and build the application
(cd plugins/magma && npm install) && \
(cd plugins/magma && npm run build) && \
# Remove Node.js, npm, and other unnecessary packages
apt-get remove -y nodejs npm && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

WORKDIR /usr/src/app

# Default HTTP port for web interface and agent beacons over HTTP
EXPOSE 8888

Expand Down

0 comments on commit 08c64d3

Please sign in to comment.