blah
ci / build (push) Failing after 27s Details

This commit is contained in:
Chris Grimmett 2024-03-29 03:04:10 -08:00
parent b24e48afa7
commit 3408e7bcd3
2 changed files with 11 additions and 10 deletions

View File

@ -18,20 +18,20 @@ docker_build(
## Uncomment the following for fp/next in dev mode ## Uncomment the following for fp/next in dev mode
## this is useful for changing the UI and seeing results ## this is useful for changing the UI and seeing results
docker_build( # docker_build(
'fp/next', # 'fp/next',
'.', # '.',
dockerfile='next.dockerfile', # dockerfile='next.dockerfile',
target='dev', # target='dev',
live_update=[ # live_update=[
sync('./packages/next', '/app') # sync('./packages/next', '/app')
] # ]
) # )
## Uncomment the following for fp/next in production mode ## Uncomment the following for fp/next in production mode
## this is useful to test how fp/next will behave in production environment ## this is useful to test how fp/next will behave in production environment
## note: there is no live_update here. expect slow rebuilds in response to code changes ## note: there is no live_update here. expect slow rebuilds in response to code changes
# docker_build('fp/next', '.', dockerfile='next.dockerfile') docker_build('fp/next', '.', dockerfile='next.dockerfile')
k8s_resource( k8s_resource(

View File

@ -30,6 +30,7 @@ FROM install AS build
COPY --chown=node:node --from=install /app/package.json /app/pnpm-lock.yaml ./ COPY --chown=node:node --from=install /app/package.json /app/pnpm-lock.yaml ./
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile
COPY --from=install /app /app COPY --from=install /app /app
RUN echo "hello gitea"
RUN pnpm run build RUN pnpm run build