Skip to content

Commit c94a378

Browse files
authored
Remove Dockerfile for Node.js application
1 parent 58e29b7 commit c94a378

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

Dockerfile

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
1-
FROM node:20-slim AS base
2-
ENV PNPM_HOME="/pnpm"
3-
ENV PATH="${PNPM_HOME}:${PATH}"
4-
RUN corepack enable
51

6-
FROM base AS build
7-
COPY . /usr/src/app
8-
WORKDIR /usr/src/app
9-
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
10-
RUN pnpm prune --prod
11-
RUN pnpm run remix:build
12-
13-
FROM base AS remix
14-
COPY --from=build /usr/src/app /usr/src/app
15-
WORKDIR /usr/src/app/apps/remix
16-
EXPOSE 3000
17-
CMD ["pnpm", "start"]

0 commit comments

Comments
 (0)