From 682d19234f55ec4c07ee4459721cd3e265363fb5 Mon Sep 17 00:00:00 2001 From: Rizky Date: Sun, 21 Jan 2024 17:36:18 +0700 Subject: [PATCH] wip fix --- Dockerfile | 10 +++++++++- package.json | 3 +-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9e3c5ad8..77720622 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,16 @@ FROM oven/bun:1.0.18-debian as base WORKDIR /app/prasi/repo +RUN chown -R bun:bun /app/prasi RUN apt-get update -RUN apt-get install nodejs git curl gnupg zip unzip -yq +RUN apt-get install git curl gnupg zip unzip -yq + +RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - + +RUN apt-get update +RUN apt-get install nodejs -yq + +RUN npm i -g @parcel/watcher node-gyp-build-optional-packages node-gyp EXPOSE 4550/tcp diff --git a/package.json b/package.json index f0c30677..5b00b5ec 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,7 @@ "pkgs/*" ], "devDependencies": { - "bun-types": "latest", - "node-gyp-build-optional-packages": "^5.1.1" + "bun-types": "latest" }, "peerDependencies": { "typescript": "^5.0.0"