Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockerでAPIを動かす #26

Merged
merged 2 commits into from
Sep 11, 2023
Merged

dockerでAPIを動かす #26

merged 2 commits into from
Sep 11, 2023

Conversation

kai815
Copy link
Owner

@kai815 kai815 commented May 6, 2023

課題

Dockerで環境差分を吸収するの課題のもの

動作確認

docker-desktop
スクリーンショット 2023-05-06 22 34 10

レスポンス
スクリーンショット 2023-05-06 22 34 10(2)

@@ -10,8 +10,9 @@ export class SomeDataQS implements ISomeDataQS {
this.prismaClient = prismaClient
}

// dockerでprismaのエラーが出るので、APIの動作確認としてprisma使わない形を試す
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prisma/prisma#16901
このエラー。

volumes:
- type: bind
source: ../backend
target: /backend
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

depends_onなくても問題ないんでしたっけ

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

と思いましたがDBは繋がずにってことですね

@kai815 kai815 merged commit 645a059 into master Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants