helpyourneighbour/Dockerfile.test
OpenClaw f860f47018
Some checks are pending
Docker Test / test (push) Waiting to run
fix(#11): Configure Codex Runner workingDir and allowWrite for repo access
2026-03-06 22:54:59 +00:00

15 lines
421 B
Text

FROM node:22-bookworm
# Erstelle den korrekten Pfad für das Repository
WORKDIR /home/openclaw/.openclaw/workspace/helpyourneighbour/backend
# Kopiere package.json und installiere Abhängigkeiten
COPY package*.json ./
RUN npm ci
# 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
CMD ["npm", "test"]