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

docker not started nps not found #255

Open
Paul75 opened this issue Apr 3, 2022 · 0 comments
Open

docker not started nps not found #255

Paul75 opened this issue Apr 3, 2022 · 0 comments

Comments

@Paul75
Copy link

Paul75 commented Apr 3, 2022

I want to use in docker : my config is :

FROM node:lts-alpine

ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait /wait
RUN chmod +x /wait

# Install python/pip
RUN apk update && apk add --no-cache gcc wget make g++ python3 py3-pip

WORKDIR /usr/src/app

RUN npm cache clear --force

# Install runtime dependencies
RUN npm install npm -g --force
RUN npm install yarn -g --force

# Copy app source to work directory
COPY . /usr/src/app

RUN yarn install

EXPOSE 3000

CMD /wait && npm start serve

But got this error :

crous78-catalogue-api  | > [email protected] start
crous78-catalogue-api  | > nps "serve"
crous78-catalogue-api  | 
crous78-catalogue-api  | sh: nps: not found
crous78-catalogue-api exited with code 127

Thanks for help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant