fix(ci): decoupled test runner from container build and included simulator.html in Dockerfile
This commit is contained in:
+2
-2
@@ -6,9 +6,9 @@ WORKDIR /app
|
||||
COPY package*.json tsconfig.json ./
|
||||
RUN npm install --no-audit --no-fund
|
||||
|
||||
# Source + the marketing landing page (served at /)
|
||||
# Source + web and simulator assets
|
||||
COPY src ./src
|
||||
COPY README.md index.html guide.html health.html privacy.html mcp_explorer.html ./
|
||||
COPY README.md index.html guide.html health.html privacy.html mcp_explorer.html simulator.html ./
|
||||
RUN npm run build
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
+2
-2
@@ -15,9 +15,9 @@
|
||||
"access": "public"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc && node --test test/v260.test.mjs",
|
||||
"build": "tsc",
|
||||
"test": "node --test test/v260.test.mjs",
|
||||
"prepublishOnly": "npm run build",
|
||||
"prepublishOnly": "npm run test && npm run build",
|
||||
"start": "node dist/index.js",
|
||||
"start:http": "node dist/http.js",
|
||||
"dev": "tsx src/index.ts"
|
||||
|
||||
Reference in New Issue
Block a user