This commit is contained in:
Rizky 2024-01-21 17:36:18 +07:00
parent 94584db627
commit 682d19234f
2 changed files with 10 additions and 3 deletions

View File

@ -1,8 +1,16 @@
FROM oven/bun:1.0.18-debian as base FROM oven/bun:1.0.18-debian as base
WORKDIR /app/prasi/repo WORKDIR /app/prasi/repo
RUN chown -R bun:bun /app/prasi
RUN apt-get update 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 EXPOSE 4550/tcp

View File

@ -19,8 +19,7 @@
"pkgs/*" "pkgs/*"
], ],
"devDependencies": { "devDependencies": {
"bun-types": "latest", "bun-types": "latest"
"node-gyp-build-optional-packages": "^5.1.1"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "^5.0.0" "typescript": "^5.0.0"