File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ FROM base AS prerelease
21
21
COPY --from=install /temp/dev/node_modules node_modules
22
22
COPY . .
23
23
24
- # [optional] tests & build
25
24
ENV NODE_ENV=production
25
+
26
+ # [optional] build
26
27
RUN bun run build
27
28
28
29
# copy production dependencies and source code into final image
@@ -36,4 +37,4 @@ COPY --from=prerelease /usr/src/app/tsconfig.json .
36
37
USER bun
37
38
ARG PORT
38
39
EXPOSE ${PORT:-3000}
39
- CMD [ "bun" , "src/index.ts " ]
40
+ CMD [ "bun" , "start " ]
Original file line number Diff line number Diff line change 4
4
"private" : " true" ,
5
5
"main" : " src/index.ts" ,
6
6
"scripts" : {
7
- "start" : " bun run ." ,
8
- "dev" : " bun run --watch ." ,
7
+ "start" : " bun ." ,
8
+ "dev" : " bun --watch ." ,
9
9
"build" : " tsc" ,
10
10
"lint" : " biome ci ."
11
11
},
You can’t perform that action at this time.
0 commit comments