Skip to content

Conversation

@MateuszKikmunter
Copy link
Collaborator

This fixes issues with running the project on MacOS and utilizing Docker. The issue was with mounting volumes and running the backend, as well as restoring the database.
The backend was crashing when running bcrypt because the container architecture didn't support the execution of the bcrypt binary. This is fixed by simply ignoring node_modules in a .dockerignore file and forcing Docker to fetch packages compatible with the container's architecture.

The second issue is related to mongo restore and permissions. This has been fixed by adjusting the volumes and creating dedicated Dockerfiles for all layers of the app for simplicity and clarity.

@MateuszKikmunter MateuszKikmunter added the bug Something isn't working label May 2, 2024
@MateuszKikmunter MateuszKikmunter requested a review from gitfrosh May 2, 2024 10:22
@MateuszKikmunter MateuszKikmunter self-assigned this May 2, 2024
@MateuszKikmunter MateuszKikmunter merged commit 932efbc into gitfrosh:beta May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant