This commit is contained in:
Rizky
2024-02-07 05:12:48 +07:00
parent 01f1f60e0f
commit 18d389b73e
6 changed files with 2 additions and 5 deletions
-1
View File
@@ -1,7 +1,6 @@
FROM oven/bun:1.0.18-debian as base
WORKDIR /app/prasi
RUN apt-get update
RUN apt-get install git curl gnupg zip unzip -yq
RUN git config --global --add safe.directory /app/prasi/repo
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -5,6 +5,7 @@
"scripts": {
"dev": "bun run --silent --watch ./pkgs/index.ts dev",
"prod": "bun run --silent ./pkgs/prod.ts",
"prep": "bun run --silent ./pkgs/docker-prep.ts",
"pkgs-upgrade": "bun run --silent ./pkgs/upgrade.ts"
},
"workspaces": [
+1 -2
View File
@@ -4,8 +4,7 @@ import {
copyAsync,
dirAsync,
existsAsync,
removeAsync,
renameAsync,
removeAsync
} from "fs-jetpack";
import path from "path";
-2
View File
@@ -12,8 +12,6 @@ import { dirAsync, existsAsync } from "fs-jetpack";
import { dir } from "utils/dir";
import { $ } from "execa";
import "./docker-prep";
g.mode = process.argv.includes("dev") ? "dev" : "prod";
g.datadir = g.mode === "prod" ? "../data" : ".data";