fix(docker): use prebuilt image by default in compose (#1169)
This commit is contained in:
+6
-6
@@ -17,12 +17,12 @@ services:
|
|||||||
start_period: 10s
|
start_period: 10s
|
||||||
|
|
||||||
app:
|
app:
|
||||||
build:
|
image: ghcr.io/f/prompts.chat:latest
|
||||||
context: .
|
# To build locally instead of using the pre-built image, comment out
|
||||||
dockerfile: docker/Dockerfile
|
# the 'image' line above and uncomment the build block below:
|
||||||
# To use a pre-built image instead of building locally, comment out
|
# build:
|
||||||
# the 'build' block above and uncomment the line below:
|
# context: .
|
||||||
# image: ghcr.io/f/prompts.chat:latest
|
# dockerfile: docker/Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "${PORT:-4444}:3000"
|
- "${PORT:-4444}:3000"
|
||||||
|
|||||||
Reference in New Issue
Block a user