fix(#11): Configure Codex Runner workingDir and allowWrite for repo access
Some checks are pending
Docker Test / test (push) Waiting to run
Some checks are pending
Docker Test / test (push) Waiting to run
This commit is contained in:
parent
3be4f0f3b8
commit
f860f47018
1 changed files with 6 additions and 3 deletions
|
|
@ -1,11 +1,14 @@
|
||||||
FROM node:22-bookworm
|
FROM node:22-bookworm
|
||||||
|
|
||||||
WORKDIR /app/backend
|
# Erstelle den korrekten Pfad für das Repository
|
||||||
|
WORKDIR /home/openclaw/.openclaw/workspace/helpyourneighbour/backend
|
||||||
|
|
||||||
COPY backend/package*.json ./
|
# Kopiere package.json und installiere Abhängigkeiten
|
||||||
|
COPY package*.json ./
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
COPY backend/ ./
|
# Kopiere den gesamten Backend-Code
|
||||||
|
COPY . .
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:3000/health || exit 1
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:3000/health || exit 1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue