diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 1f57d21..aad1897 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -13,7 +13,12 @@ "Bash(td review:*)", "Bash(td approve:*)", "Bash(td complete:*)", - "Bash(td update:*)" + "Bash(td update:*)", + "Bash(npm --version)", + "Bash(docker --version)", + "Bash(docker compose:*)", + "Bash(docker build:*)", + "Bash(docker run:*)" ] } } diff --git a/Dockerfile b/Dockerfile index b8bde24..3873b54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,9 @@ RUN npm install --omit=dev COPY server/ ./ +# Copy db migrations (required by server/src/db.js at runtime) +COPY db/ /app/db/ + # Copy built client assets COPY --from=client-build /app/client/dist /app/client/dist diff --git a/client/vite.config.js b/client/vite.config.js index ab4b186..bb12ceb 100644 --- a/client/vite.config.js +++ b/client/vite.config.js @@ -5,7 +5,7 @@ export default defineConfig({ plugins: [react()], server: { proxy: { - '/api': 'http://localhost:3001', + '/api': 'http://localhost:3000', }, }, });