You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM node:20-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
COPY . /app
WORKDIR /app
FROM base AS build
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm rebuild esbuild
RUN pnpm build:remix
FROM base
COPY --from=build /app/node_modules /app/node_modules
COPY --from=build /app/build /app/build
COPY --from=build /app/public /app/public
EXPOSE 3000
CMD [ "pnpm", "start" ]
What version of Remix are you using?
1.19.2
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
I'm trying to deploy remix with docker. Both the docker build and the local deployment succeeded, but it shows error when I run the container.
error as:
steps in local:
dockerfile as:
package.json as:
Expected Behavior
remix-serve build no error
Actual Behavior
Receive an error
The text was updated successfully, but these errors were encountered: