fix missing image
ci / build (push) Has been cancelled
Details
ci / build (push) Has been cancelled
Details
This commit is contained in:
parent
b54d6eea9a
commit
b0530326c1
|
@ -1,10 +1,10 @@
|
||||||
FROM node:20 as base
|
FROM node:20 AS base
|
||||||
ENV PNPM_HOME="/pnpm"
|
ENV PNPM_HOME="/pnpm"
|
||||||
ENV PATH="$PNPM_HOME:$PATH"
|
ENV PATH="$PNPM_HOME:$PATH"
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN corepack enable && corepack prepare pnpm@9.2.0 --activate
|
RUN corepack enable && corepack prepare pnpm@9.5.0 --activate
|
||||||
|
|
||||||
FROM base as build
|
FROM base AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN mkdir -p /app/packages/scout && mkdir /app/packages/taco && mkdir -p /prod/scout
|
RUN mkdir -p /app/packages/scout && mkdir /app/packages/taco && mkdir -p /prod/scout
|
||||||
|
|
||||||
|
@ -31,14 +31,17 @@ COPY ./packages/temporal-worker/ ./packages/temporal-worker/
|
||||||
COPY ./packages/types/ ./packages/types/
|
COPY ./packages/types/ ./packages/types/
|
||||||
COPY ./packages/utils/ ./packages/utils/
|
COPY ./packages/utils/ ./packages/utils/
|
||||||
|
|
||||||
|
RUN ls -la ./packages/image
|
||||||
|
|
||||||
## Transpile TS into JS
|
## Transpile TS into JS
|
||||||
|
RUN pnpm --filter=@futureporn/image build
|
||||||
RUN pnpm --filter=@futureporn/temporal-workflows build
|
RUN pnpm --filter=@futureporn/temporal-workflows build
|
||||||
RUN pnpm --filter=!@futureporn/temporal-workflows -r build
|
RUN pnpm --filter=!@futureporn/temporal-workflows -r build
|
||||||
|
|
||||||
## Deploy (copy all production code into one place)
|
## Deploy (copy all production code into one place)
|
||||||
RUN pnpm deploy --filter=scout --prod /prod/scout
|
RUN pnpm deploy --filter=scout --prod /prod/scout
|
||||||
|
|
||||||
FROM base as scout
|
FROM base AS scout
|
||||||
COPY --from=build /prod/scout .
|
COPY --from=build /prod/scout .
|
||||||
RUN ls -la .
|
RUN ls -la .
|
||||||
ENTRYPOINT ["pnpm", "start"]
|
ENTRYPOINT ["pnpm", "start"]
|
||||||
|
|
|
@ -3,9 +3,10 @@
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha",
|
"test": "mocha",
|
||||||
|
"build": "tsc --build",
|
||||||
"clean": "rm -rf dist",
|
"clean": "rm -rf dist",
|
||||||
"superclean": "rm -rf node_modules && rm -rf pnpm-lock.yaml && rm -rf dist"
|
"superclean": "rm -rf node_modules && rm -rf pnpm-lock.yaml && rm -rf dist"
|
||||||
},
|
},
|
||||||
|
|
|
@ -21,10 +21,10 @@
|
||||||
},
|
},
|
||||||
// Include the necessary files for your project
|
// Include the necessary files for your project
|
||||||
"include": [
|
"include": [
|
||||||
"**/*.ts",
|
"src/**/*.ts",
|
||||||
"**/*.tsx"
|
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules"
|
"node_modules",
|
||||||
|
"src/**/*.spec.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -19,8 +19,8 @@
|
||||||
"@temporalio/workflow": "^1.10.1",
|
"@temporalio/workflow": "^1.10.1",
|
||||||
"@types/qs": "^6.9.15",
|
"@types/qs": "^6.9.15",
|
||||||
"date-fns": "^3.6.0",
|
"date-fns": "^3.6.0",
|
||||||
"@futureporn/image": "workspace:*",
|
|
||||||
"qs": "^6.12.3",
|
"qs": "^6.12.3",
|
||||||
|
"@futureporn/image": "workspace:*",
|
||||||
"@futureporn/scout": "workspace:*",
|
"@futureporn/scout": "workspace:*",
|
||||||
"@futureporn/storage": "workspace:*",
|
"@futureporn/storage": "workspace:*",
|
||||||
"@futureporn/types": "workspace:*",
|
"@futureporn/types": "workspace:*",
|
||||||
|
|
Loading…
Reference in New Issue