Skip to content

Commit 56ccc28

Browse files
committed
Simplify Dockerfile and run dev in prod temporarily
1 parent 9493b80 commit 56ccc28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ COPY . .
2424
# [optional] tests & build
2525
ENV NODE_ENV=production
2626
RUN bun test
27-
RUN bun run build
27+
# RUN bun run build
2828

2929
# copy production dependencies and source code into final image
3030
FROM base AS release
@@ -35,4 +35,4 @@ COPY --from=prerelease /usr/src/app/package.json .
3535
# run the app
3636
USER bun
3737
EXPOSE 3000/tcp
38-
ENTRYPOINT [ "bun", "run", "index.ts" ]
38+
ENTRYPOINT [ "bun", "run", "dev" ]

0 commit comments

Comments
 (0)