I am having a hard time getting a prisma.io based node server running on fly.
Here is the
Dockerfile I am using:
FROM node:current-alpine WORKDIR /app COPY package.json . COPY prisma ./prisma RUN yarn install ENV DATABASE_URL=$DATABASE_URL RUN yarn migrate RUN yarn generate:prisma RUN tsc COPY . . CMD ["node", "dist/server.js"]
I have tried also mapping
ENV DATABASE_URL=$DATABASE_URL with no luck.
I have also tried setting the config in schema.prisma to
env("$DATABASE_URL") with no luck as well.
Any help would be greatly appreciated!