generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from vaibhavpnimkar/create-design-from-scratch
Create design from scratch and added docker target in makefile
- Loading branch information
Showing
5 changed files
with
82 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
FROM klakegg/hugo:ext-alpine | ||
# Use floryn90/hugo:ext-alpine as the base image | ||
FROM floryn90/hugo:ext-alpine | ||
|
||
RUN apk add git && \ | ||
git config --global --add safe.directory /src | ||
# Set the working directory to /src | ||
WORKDIR /src | ||
|
||
# Install Git and configure safe directory | ||
RUN apk add --no-cache git && \ | ||
git config --global --add safe.directory /src |
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
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
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 |
---|---|---|
@@ -1,13 +1,10 @@ | ||
version: "3.3" | ||
version: '3' | ||
|
||
services: | ||
|
||
site: | ||
image: docsy/docsy-example | ||
build: | ||
context: . | ||
command: server | ||
hugo: | ||
image: floryn90/hugo:ext-alpine | ||
ports: | ||
- "1313:1313" | ||
volumes: | ||
- .:/src | ||
command: server --buildDrafts --buildFuture --bind 0.0.0.0 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.