diff --git a/apps/coa-updater/Dockerfile b/apps/coa-updater/Dockerfile index e2d6d57ba..09e01171d 100644 --- a/apps/coa-updater/Dockerfile +++ b/apps/coa-updater/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-slim +FROM oven/bun LABEL org.opencontainers.image.authors="Bruno Perel" WORKDIR /app @@ -8,4 +8,4 @@ RUN apt-get update && apt-get install -y mariadb-client wget && apt-get clean && COPY apps/coa-updater/bundle.mjs /app/ EXPOSE 3000 -CMD ["node", "bundle.mjs"] \ No newline at end of file +ENTRYPOINT ["bun", "bundle.mjs"] \ No newline at end of file diff --git a/apps/coa-updater/package.json b/apps/coa-updater/package.json index 9dae0c523..1327b314a 100644 --- a/apps/coa-updater/package.json +++ b/apps/coa-updater/package.json @@ -1,7 +1,7 @@ { "name": "~coa-updater", "scripts": { - "build": "bun build --target node --sourcemap index.ts --outfile bundle.mjs" + "build": "bun build --target bun --sourcemap index.ts --outfile bundle.mjs" }, "keywords": [], "author": "",