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