-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
133 additions
and
14 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 |
---|---|---|
|
@@ -3,3 +3,4 @@ docs/build/* | |
docs/source/api/generated | ||
docs/tmp | ||
!.gitignore | ||
nohup.out |
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,3 +1,3 @@ | ||
[submodule "docs/source/pjproject"] | ||
path = docs/source/pjproject | ||
url = https://github.com/bennylp/pjproject.git | ||
url = https://github.com/pjsip/pjproject.git |
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,15 @@ | ||
# syntax=docker/dockerfile:1 | ||
FROM ubuntu:jammy | ||
WORKDIR /root | ||
RUN mkdir pjproject_docs | ||
COPY . pjproject_docs/ | ||
RUN cp /etc/apt/sources.list /etc/apt/sources.list.bak | ||
RUN cat /etc/apt/sources.list.bak | sed "s/archive.ubuntu/sg.archive.ubuntu/" > /etc/apt/sources.list | ||
RUN ln -fs /usr/share/zoneinfo/Asia/Jakarta /etc/localtime | ||
RUN apt-get update -y | ||
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y tzdata vim tilde git doxygen python3 python3-pip python3-sphinx | ||
RUN cd /root/pjproject_docs && pip3 install -r requirements.txt | ||
EXPOSE 8000 | ||
CMD ["/usr/bin/bash", "--init-file", "/root/pjproject_docs/docker/start.sh"] | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
if [ -f ~/.bashrc ]; then | ||
. ~/.bashrc | ||
fi | ||
|
||
nohup python3 -m http.server --directory=/root/pjproject_docs/docs/build/html/ 8000 & | ||
|
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
Submodule pjproject
updated
1141 files