[ERROR] Deploy Adonis V6

I’m trying to set up my AdonisJS v6 application, but I’m having difficulty. Could someone help me? I believe the issue might be with the Dockerfile. imported from /app/start/routes.js Error: Cannot find module '/app/start/webhook/index.ts' imported from/app/start/routes.js container event container restart Error: Cannot Dockerfile Base stage FROM node:20 as base # All deps stage FROM base as deps WORKDIR /app COPY package.json yarn.lock ./ RUN yarn install --frozen-lockfile # Production only deps stage FROM base as production-deps WORKDIR / COPY package.json yarn.lock ./ RUN yarn install --frozen-lockfile --production # Build stage FROM base as build WORKDIR /app COPY --from=deps /app/node_modules /app/node_modules COPY . . RUN yarn build # Production stage FROM base ENV NODE_ENV=production WORKDIR /app COPY --from=production-deps /app/node_modules /app/node_modules COPY --from=build /app/build /app EXPOSE 8080 CMD ["node", "./bin/server.js"]
2 Replies
Percy
Percy3mo ago
Project ID: 87283685-2934-4304-9394-aa7e7d4d5181
Gabriel M.
Gabriel M.OP3mo ago
Project ID: 87283685-2934-4304-9394-aa7e7d4d5181
Want results from more Discord servers?
Add your server