This commit is contained in:
arhat0307
2026-06-28 21:17:11 +09:00
parent 3e63af5b44
commit e207b9580d
10 changed files with 247 additions and 28 deletions
+3 -2
View File
@@ -279,7 +279,7 @@ tasks:
summary: Builds and runs the Docker image
desc: |
Builds the Docker image and runs it, exposing port 8080.
Usage: task run:docker [TAG=myapp:latest] [PORT=8080]
Usage: task run:docker [TAG=myapp:latest] [HOST=0.0.0.0] [PORT=8080]
Note: The internal container port is always 8080. The PORT variable
only changes the host port mapping. Ensure your app uses port 8080
or modify the Dockerfile to match your ServerOptions.Port setting.
@@ -289,9 +289,10 @@ tasks:
TAG:
ref: .TAG
cmds:
- docker run --rm -p {{.PORT | default "8080"}}:8080 {{.TAG | default (printf "%s:latest" .APP_NAME)}}
- docker run --rm -p {{.HOST | default "0.0.0.0"}}:{{.PORT | default "8080"}}:8080 {{.TAG | default (printf "%s:latest" .APP_NAME)}}
vars:
TAG: "{{.TAG}}"
HOST: "{{.HOST}}"
PORT: "{{.PORT}}"
setup:docker:
+2
View File
@@ -31,5 +31,7 @@
<string>true</string>
<key>NSHumanReadableCopyright</key>
<string>(c) 2026, OPIc Flow</string>
<key>NSMicrophoneUsageDescription</key>
<string>OPIc Flow records your spoken practice answers for transcription and feedback.</string>
</dict>
</plist>
+2
View File
@@ -26,5 +26,7 @@
<string>true</string>
<key>NSHumanReadableCopyright</key>
<string>(c) 2026, OPIc Flow</string>
<key>NSMicrophoneUsageDescription</key>
<string>OPIc Flow records your spoken practice answers for transcription and feedback.</string>
</dict>
</plist>
+1
View File
@@ -50,6 +50,7 @@
<Capabilities>
<rescap:Capability Name="runFullTrust" />
<DeviceCapability Name="microphone" />
</Capabilities>
</Package>