unneeded
This commit is contained in:
parent
fb56769405
commit
0d06e26d89
2 changed files with 4 additions and 4 deletions
|
@ -3,6 +3,8 @@
|
|||
FROM oven/bun:latest AS base
|
||||
WORKDIR /app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
# install dependencies into temp directory
|
||||
# this will cache them and speed up future builds
|
||||
FROM base AS install
|
||||
|
@ -22,7 +24,6 @@ COPY --from=install /temp/dev/node_modules node_modules
|
|||
COPY . .
|
||||
|
||||
# [optional] tests & build
|
||||
ENV NODE_ENV=production
|
||||
# RUN bun test
|
||||
# RUN bun run build
|
||||
|
||||
|
@ -34,5 +35,4 @@ COPY --from=install /temp/prod/node_modules node_modules
|
|||
COPY --from=prerelease /app/ .
|
||||
|
||||
# run the app
|
||||
|
||||
ENTRYPOINT [ "bun", "run", "start" ]
|
||||
ENTRYPOINT [ "bun", "start" ]
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "bun run src/server.ts",
|
||||
"start": "bun src/server.ts",
|
||||
"dev": "bun --watch run src/server.ts",
|
||||
"hot": "bun --hot run src/server.ts",
|
||||
"build": "bun build src/server.ts --compile --minify --sourcemap --target=bun-linux-x64-modern --outfile server",
|
||||
|
|
Loading…
Add table
Reference in a new issue