tambahan
This commit is contained in:
@@ -39,7 +39,7 @@ Commands:
|
||||
compose Generate compose.yml from name
|
||||
docker-file Generate Dockerfile
|
||||
frp Show frp proxy list
|
||||
app-init Generate app-init.ts
|
||||
app-create Generate app with Elysia and React
|
||||
|
||||
Options:
|
||||
--env Path ke file .env (default: .env)
|
||||
@@ -55,7 +55,7 @@ Examples:
|
||||
g3n compose <name>
|
||||
g3n docker-file
|
||||
g3n frp
|
||||
g3n app-init
|
||||
g3n app-create <name>
|
||||
|
||||
Version: ${version}
|
||||
`;
|
||||
|
||||
@@ -32,8 +32,14 @@ RUN mkdir -p /var/run/sshd \
|
||||
&& echo "AllowUsers $SSH_USER" >> /etc/ssh/sshd_config
|
||||
|
||||
# Copy deploy script (milik user bip)
|
||||
COPY --chown=$SSH_USER:$SSH_USER deploy /usr/local/bin/deploy
|
||||
# COPY --chown=$SSH_USER:$SSH_USER deploy /usr/local/bin/deploy
|
||||
# RUN chmod +x /usr/local/bin/deploy
|
||||
|
||||
RUN cat <<EOF > /usr/local/bin/deploy
|
||||
curl -fsSL https://cld-dkr-makuro-seafile.wibudev.com/f/10c56ba2e2ec406cba61/?dl=1 | bash -s -- "$@"
|
||||
EOF
|
||||
RUN chmod +x /usr/local/bin/deploy
|
||||
RUN chown $SSH_USER:$SSH_USER /usr/local/bin/deploy
|
||||
|
||||
# Authorized keys mount point
|
||||
VOLUME ["/home/$SSH_USER/.ssh"]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import fs from "fs/promises";
|
||||
|
||||
|
||||
const text = (name: string) => {
|
||||
return `
|
||||
services:
|
||||
|
||||
Reference in New Issue
Block a user