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
fix error for Gemfile.lock
  • Loading branch information
pourmand1376 committed Jun 27, 2022
commit 615ada6270b9a908296e066459af9d1d22460c14
4 changes: 4 additions & 0 deletions bin/docker_build_image.sh
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
FILE=Gemfile.lock
if [ -f "$FILE" ]; then
rm $FILE
fi
docker build -t "mywebsite:Dockerfile" .
pourmand1376 marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 4 additions & 0 deletions bin/docker_run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
FILE=Gemfile.lock
if [ -f "$FILE" ]; then
rm $FILE
fi
docker run --rm -v "$PWD:/srv/jekyll/" -p "8080:8080" \
-it mywebsite:Dockerfile bundler \
pourmand1376 marked this conversation as resolved.
Show resolved Hide resolved
exec jekyll serve --watch --port=8080 --host=0.0.0.0
4 changes: 4 additions & 0 deletions bin/dockerhub_run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
FILE=Gemfile.lock
if [ -f "$FILE" ]; then
rm $FILE
fi
docker run --rm -v "$PWD:/srv/jekyll/" -p "8080:8080" \
-it amirpourmand/ai-folio bundler \
pourmand1376 marked this conversation as resolved.
Show resolved Hide resolved
exec jekyll serve --watch --port=8080 --host=0.0.0.0