Enhancing Dockerfile to use a staged build, and docker-compose-yaml to use profiles, either 'development' or 'producion'. Adding nixpacks.toml to enable robust coolify support

This commit is contained in:
Colin Hill
2024-10-24 14:48:05 -04:00
22 changed files with 701 additions and 95 deletions

View File

@@ -28,5 +28,6 @@ RUN npm run build
CMD [ "pnpm", "run", "dockerstart"]
# Development image
FROM base AS bolt-ai-dev
ENTRYPOINT ["pnpm", "run", "dev", "--host"]
FROM base AS bolt-ai-development
RUN mkdir -p ${WORKDIR}/run
CMD pnpm run dev --host