mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
update some text
This commit is contained in:
@@ -47,9 +47,9 @@ http {
|
||||
}
|
||||
{{end}}
|
||||
|
||||
{{if .NIXPACKS_PHP_FALLBACK_PATH}}
|
||||
{{if .RAILPACK_PHP_FALLBACK_PATH}}
|
||||
location / {
|
||||
try_files $uri $uri/ {{.NIXPACKS_PHP_FALLBACK_PATH}}?$query_string;
|
||||
try_files $uri $uri/ {{.RAILPACK_PHP_FALLBACK_PATH}}?$query_string;
|
||||
}
|
||||
{{end}}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ GHCR](https://github.com/railwayapp/railpack/pkgs/container/railpack-frontend).
|
||||
|
||||
## Curl
|
||||
|
||||
Download Nixpacks from GH releases and install automatically
|
||||
Download Railpack from GH releases and install automatically
|
||||
|
||||
```sh
|
||||
curl -sSL https://railpack.com/install.sh | bash
|
||||
|
||||
+1
-3
@@ -77,7 +77,6 @@ has() {
|
||||
command -v "$1" 1>/dev/null 2>&1
|
||||
}
|
||||
|
||||
# Update the temp file function to use railpack instead of nixpacks
|
||||
get_tmpfile() {
|
||||
local suffix
|
||||
suffix="$1"
|
||||
@@ -210,7 +209,6 @@ detect_platform() {
|
||||
printf '%s' "${platform}"
|
||||
}
|
||||
|
||||
# Simplify arch detection since we only support x86_64 for now
|
||||
detect_arch() {
|
||||
local arch
|
||||
arch="$(uname -m | tr '[:upper:]' '[:lower:]')"
|
||||
@@ -218,7 +216,7 @@ detect_arch() {
|
||||
case "${arch}" in
|
||||
amd64|x86_64) printf 'x86_64' ;;
|
||||
arm64|aarch64) printf 'arm64' ;;
|
||||
*) printf 'x86_64' ;; # default to x86_64 for unknown architectures
|
||||
*) printf 'x86_64' ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user