From e073a1bdaca116f7ea79fd553f96c73981b6341a Mon Sep 17 00:00:00 2001 From: nigiri <168690269+0xnigir1@users.noreply.github.com> Date: Tue, 10 Sep 2024 17:48:37 -0300 Subject: [PATCH] fix: expose port 3000 on dockerfile --- Dockerfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index d282b4f..aa204e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,15 +11,8 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile RUN pnpm run -r build RUN pnpm deploy --filter=./apps/api --prod /prod/api -# RUN pnpm deploy --filter=app2 --prod /prod/app2 - FROM base AS api COPY --from=build /prod/api /prod/api WORKDIR /prod/api +EXPOSE 3000 CMD [ "pnpm", "start" ] - -# FROM base AS app2 -# COPY --from=build /prod/app2 /prod/app2 -# WORKDIR /prod/app2 -# EXPOSE 8001 -# CMD [ "pnpm", "start" ] \ No newline at end of file