From 3408e7bcd359ef4dc0ca2f496050d49c6fd878be Mon Sep 17 00:00:00 2001 From: Chris Grimmett Date: Fri, 29 Mar 2024 03:04:10 -0800 Subject: [PATCH] blah --- Tiltfile | 20 ++++++++++---------- next.dockerfile | 1 + 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Tiltfile b/Tiltfile index d41428d..6531960 100644 --- a/Tiltfile +++ b/Tiltfile @@ -18,20 +18,20 @@ docker_build( ## Uncomment the following for fp/next in dev mode ## this is useful for changing the UI and seeing results -docker_build( - 'fp/next', - '.', - dockerfile='next.dockerfile', - target='dev', - live_update=[ - sync('./packages/next', '/app') - ] -) +# docker_build( +# 'fp/next', +# '.', +# dockerfile='next.dockerfile', +# target='dev', +# live_update=[ +# sync('./packages/next', '/app') +# ] +# ) ## Uncomment the following for fp/next in production mode ## 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 -# docker_build('fp/next', '.', dockerfile='next.dockerfile') +docker_build('fp/next', '.', dockerfile='next.dockerfile') k8s_resource( diff --git a/next.dockerfile b/next.dockerfile index 05bc7a2..fc6e788 100644 --- a/next.dockerfile +++ b/next.dockerfile @@ -30,6 +30,7 @@ FROM install AS build 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 COPY --from=install /app /app +RUN echo "hello gitea" RUN pnpm run build