Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilamb committed Jun 18, 2024
1 parent 12606ab commit da2ce9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ COPY ./ /headlamp-plugins/
RUN mkdir -p /headlamp-plugins/build

# Update npm version
RUN npm install -g [email protected] && npm --version
RUN npm install [email protected] && npm --version

RUN cat /headlamp-plugins/package.json

RUN npm install -g
RUN npm install

# Build the headlamp plugin inside the container
# RUN npx @kinvolk/headlamp-plugin build /headlamp-plugins
RUN npm install -g @kinvolk/headlamp-plugin
RUN npm install @kinvolk/headlamp-plugin

RUN headlamp-plugin build /headlamp-plugins

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "headlamp-myfancy",
"name": "headlamp-plugins",
"version": "0.0.1",
"description": "Your Headlamp plugin",
"scripts": {
Expand Down

0 comments on commit da2ce9f

Please sign in to comment.