diff --git a/Dockerfile b/Dockerfile index 200f830..cec50ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,10 +11,9 @@ WORKDIR /app # Set production environment ENV NODE_ENV="production" -ENV NITRO_PRESET="bun" # Install bun -RUN npm install -g bun@1.0.18 +RUN npm install -g bun # Throw-away build stage to reduce size of final image FROM base as build @@ -41,4 +40,4 @@ COPY --from=build /app/.output ./ # Start the server by default, this can be overwritten at runtime EXPOSE 3000 -CMD [ "bun", "run", "/app/server/index.mjs" ] +CMD [ "node", "/app/server/index.mjs" ]