mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-21 06:08:18 +02:00
Ensure application builds locally within Portainer, avoiding external image pulls
Configures Docker Compose to build the application image locally and prevents image downloads from Docker Hub. Replit-Commit-Author: Agent Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/e32734b8-3e86-4a0a-ad55-ba74cf7cf00c.jpg
This commit is contained in:
1 parent
d83e29270e
commit
f7661a418d
3 files changed
+63
-1
No files matched your search
+4
-1
@@ -27,12 +27,15 @@ services:
|
||||
regisflow:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
target: production
|
||||
image: regisflow-regisflow:latest
|
||||
args:
|
||||
- NODE_ENV=production
|
||||
container_name: regisflow-app
|
||||
depends_on:
|
||||
regisflow-db:
|
||||
condition: service_healthy
|
||||
pull_policy: never
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: 5000
|
||||
|
||||
Reference in new issue
Block a user