fix: include API/ in backend Docker image
Build & Push Docker Images / test-backend (push) Successful in 49s
Build & Push Docker Images / test-frontend (push) Successful in 58s
Build & Push Docker Images / build-backend (push) Failing after 1m7s
Build & Push Docker Images / build-frontend (push) Successful in 1m13s
Build & Push Docker Images / test-backend (push) Successful in 49s
Build & Push Docker Images / test-frontend (push) Successful in 58s
Build & Push Docker Images / build-backend (push) Failing after 1m7s
Build & Push Docker Images / build-frontend (push) Successful in 1m13s
Build context was ./backend so API/ was never copied into the image. server.js imports ../API/index.js which resolves to /API/index.js at runtime. Expand build context to project root and explicitly copy API/ to /API/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -5,7 +5,9 @@ services:
|
||||
|
||||
backend:
|
||||
image: git.hacecalor.net/ichitux/farmafinder-backend:latest
|
||||
build: ./backend
|
||||
build:
|
||||
context: .
|
||||
dockerfile: backend/Dockerfile
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3001:3001"
|
||||
|
||||
Reference in New Issue
Block a user