Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile for easy installation on local machine #532

Merged
merged 24 commits into from
Jul 10, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add docker_build_image
  • Loading branch information
pourmand1376 committed Feb 5, 2022
commit 7253b38675e5c67276e28042ec77abe506664ed5
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,18 @@ You need to do these step to get `ai-folio` up and running in your local machine


```bash
docker build -t "mywebsite:Dockerfile" .
bin/docker_build_image.sh
```

- Run the website!

```bash
./docker_run.sh
bin/docker_run.sh
```

> In order to change port number, you can change `docker_run.sh` file.

> If you want to update jekyll or install new ruby packages or ... , all you have to do is to build the image again! It will download ruby and jekyll and install all ruby packages again.
> If you want to update jekyll or install new ruby packages or ... , all you have to do is to build the image again using `docker_build_image.sh`! It will download ruby and jekyll and installall ruby packages again.

#### Local Setup (Legacy mode)
pourmand1376 marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
1 change: 1 addition & 0 deletions bin/docker_build_image.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker build -t "mywebsite:Dockerfile" .
pourmand1376 marked this conversation as resolved.
Show resolved Hide resolved
File renamed without changes.