FROM node:14
# Create app directory
WORKDIR /usr/src/catidu-api
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY . .
RUN npm install -g serverless@2.68.0
RUN npm install
# If you are building your code for production
# RUN npm ci --only=production
# Bundle app source
EXPOSE 3000
CMD [ "npm","start" ]
can u share your code?
Sure, thx.
Dockerfile
docker-compose.yml
.env
I've to say this project use serverless, maybe that's what's causing the error. I don't know, I appreciate any suggestion.