adia-dev/manga_reader

The docker-compose.yml is broken

Closed this issue · 1 comments

$ docker-compose up --build --abort-on-container-exit --remove-orphans
ERROR: The Compose file './docker-compose.yml' is invalid because:
failed to load config from /app/vite.config.ts
...

The volume for the app service is broken:

volumes:
  - ./services/app:/app

Seems like the error is complaining about the vite.config.ts file, but it's not clear why. I'm not sure if this is a bug in the vite package or if it's a bug in the docker-compose.yml file.
It could also be related to the fact that swc needs a react refresh plugin, but I'm not sure.

Thanks for the report, it has been fixed by @adia-dev(myself eheh) and will be merged in the pull request: #16