funthread81
Shopify Partner
Contact Me
Status
Offline
Last Activity
‎01-04-2024 12:22 PM
Topic Started
0
Topics Started
Topic Solutions
0
Solutions
Post Count
3
Posts
Post Kudos
0
Likes

Community Badges

No content to show

User Activity

For short:1. Dockerfile is for building image only, the image is buit prior to start a instance on Beanstalk, so there is no env. available2. The SH script is called when start a instance on beanstalk, where the env is available.
It's a common trick to solve the problem: Let's clarify why adding a shell script (build-and-serve-app.sh) in the Docker build process is necessary, particularly in the context of making the SHOPIFY_API_KEY available during the build of your frontend...
This widget could not be displayed.
This widget could not be displayed.