Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build docker image #2155

Open
HarimbolaSantatra opened this issue Jul 25, 2024 · 0 comments
Open

Cannot build docker image #2155

HarimbolaSantatra opened this issue Jul 25, 2024 · 0 comments
Labels

Comments

@HarimbolaSantatra
Copy link

HarimbolaSantatra commented Jul 25, 2024

Description

Can't build the docker image

Steps to Reproduce

Use the Dockerfile and run

docker build -t openmf/web-app:latest .

Expected Behaviour

Docker images showing when running: docker images | grep openmf.

Actual Behaviour

 > [builder  9/10] RUN npm install:
2.922 npm ERR! code ENOENT
2.923 npm ERR! syscall open
2.923 npm ERR! path /usr/src/app/package.json
2.923 npm ERR! errno -2
2.925 npm ERR! enoent ENOENT: no such file or directory, open '/usr/src/app/package.json'
2.925 npm ERR! enoent This is related to npm not being able to find a file.
2.925 npm ERR! enoent
2.927
2.927 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-07-25T10_39_38_417Z-debug-0.log
------

 5 warnings found (use --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 7)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 21)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 24)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 25)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 27)
Dockerfile:38
--------------------
  36 |     RUN npm install --location=global @angular/[email protected]
  37 |
  38 | >>> RUN npm install
  39 |
  40 |     RUN ng build --output-path=/dist $BUILD_ENVIRONMENT_OPTIONS
--------------------
ERROR: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 254

Settings

  • Mifos X version: current master branch
@github-actions github-actions bot added the Stale label Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant