We have an app that has multiple “servers” that run side by side. We would like each script to be its own fly app.
So we are looking for the best way to add additional fly.toml and Dockerfile to the same directory, figured someone has already come across this and will have an elegant solution.
Here is our current Dockerfile:
FROM node:current-alpine WORKDIR /app COPY package.json . COPY dist ./dist RUN yarn install COPY prisma ./prisma RUN yarn prisma generate COPY . . CMD ["node", "dist/server.js"]
Thanks in advance!