File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -65,12 +65,7 @@ class PidApp < Sinatra::Base
6565 TEST_MODE = true
6666 end
6767
68- configure :development do
69- enable :logging
70- set :host_authorization , { permitted_hosts : [ ] }
71- end
72-
73- configure :production do
68+ configure :development , :production do
7469 enable :logging
7570 set :host_authorization , { permitted_hosts : [ APP_CONFIG [ 'app_host' ] ] }
7671 end
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ services:
33 build :
44 context : ./app # Build context is the app directory
55 dockerfile : Dockerfile.test # Use Dockerfile.test
6+ args :
7+ - TARGET_PLATFORM=linux/arm64 # Change depending on the target platform
68 depends_on :
79 - redis # Ensure the Redis container is started first
810 env_file :
@@ -13,6 +15,8 @@ services:
1315 context : ./app # Build context is the app directory
1416 dockerfile : Dockerfile.app # Use Dockerfile.app
1517 target : final
18+ args :
19+ - TARGET_PLATFORM=linux/arm64 # Change depending on the target platform
1620 ports :
1721 - " 80:80"
1822 depends_on :
@@ -24,5 +28,7 @@ services:
2428 redis :
2529 build :
2630 context : ./redis # Build context is the redis directory
31+ args :
32+ - TARGET_PLATFORM=linux/arm64 # Change depending on the target platform
2733 ports :
2834 - " 6379:6379" # Map host port to container port
You can’t perform that action at this time.
0 commit comments