Brijesh's Git Server — sse-from-child-process @ b275cf2bdcf600622dcb0d6a37bbaf95c575a3e0

update dockerfile
Brijesh Wawdhane ops@brijesh.dev
Fri, 14 Mar 2025 23:24:08 +0530
commit

b275cf2bdcf600622dcb0d6a37bbaf95c575a3e0

parent

5b0808c977ac302556c17574a76d844749949ac7

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M server/Dockerfileserver/Dockerfile

@@ -31,8 +31,8 @@

# Copy application code COPY . . -# Build application -RUN pnpm run build +# Build application using TypeScript compiler +RUN npx tsc --project tsconfig.json # Remove development dependencies RUN pnpm prune --prod

@@ -46,4 +46,4 @@ COPY --from=build /app /app

# Start the server by default, this can be overwritten at runtime EXPOSE 3000 -CMD [ "pnpm", "run", "start" ] +CMD [ "node", "dist/index.js" ]