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

本番環境に関する設定の修正 #4

Merged
merged 2 commits into from
Dec 15, 2022
Merged

本番環境に関する設定の修正 #4

merged 2 commits into from
Dec 15, 2022

Conversation

yuu104
Copy link
Owner

@yuu104 yuu104 commented Dec 15, 2022

やったこと

Dockerfile の編集

  • マルチステージビルドの AS runnerの方のnodeベースイメージをnode:16-alpine3.16に変更
  • このIssueを参考にした

docker-compose.yml を作成

  • 本番環境に作成したDockerイメージをローカル環境で動作確認できるようにするために作成した

懸念点

  • node のベースイメージを alpine に変更したら Prisma のエラーが消えて正常に動作するようになったが、なぜなのかが不明
    • また、alpine に変更したらビルド時に時間がかかった

@yuu104 yuu104 merged commit abeb5ec into main Dec 15, 2022
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

1 participant