This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: loyal812 <jh.chan0812@gmail.com>
- Loading branch information
Showing
3 changed files
with
106 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# Switch to superuser | ||
sudo su | ||
|
||
# Update packages and install necessary software | ||
apt update | ||
apt install -y apt-transport-https ca-certificates curl software-properties-common | ||
|
||
# Set up Docker repository and install Docker | ||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | ||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" | ||
apt-cache policy docker-ce | ||
apt install -y docker-ce | ||
|
||
# Install Docker Compose, Make, and Nginx | ||
apt install -y docker-compose | ||
apt install -y make | ||
apt install -y nginx | ||
|
||
# Clone your GitHub repository | ||
cd /var/www | ||
git clone https://github.com/oridosai/img2txt-fine-tuning-api.git |