express-typescript-boilerplate
express-typescript-boilerplate copied to clipboard
docker not started nps not found
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