-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a Dockerfile and update BAPC21-theme submodule (#86)
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Dockerfile | ||
.github | ||
|
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,21 @@ | ||
|
||
|
||
FROM alpine:latest | ||
|
||
ARG HUGO_VERSION=0.68.3 | ||
|
||
RUN apk add git | ||
|
||
WORKDIR /tmp | ||
RUN wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz -O hugo.tar.gz \ | ||
&& tar -xzf hugo.tar.gz \ | ||
&& cp hugo /opt/hugo \ | ||
&& rm -rf /tmp/* | ||
|
||
WORKDIR /usr/src/app | ||
COPY . . | ||
RUN git submodule init && git submodule update --remote --merge | ||
|
||
EXPOSE 1313 | ||
CMD [ "/opt/hugo", "server", "--bind=0.0.0.0" ] | ||
|
Submodule BAPC21-theme
updated
30 files