Публикация репозитория
This commit is contained in:
commit
669c649c75
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM mydocker.ru/alpine-dev AS builder
|
||||
RUN apk add --no-cache doxygen python3 py3-pip plantuml && \
|
||||
git clone -b v3.11.3 https://gitfox.ru/lib/json.git && \
|
||||
cd json && \
|
||||
cd /src/json/docs/mkdocs && \
|
||||
make install_venv build
|
||||
|
||||
FROM mydocker.ru/unit
|
||||
COPY --from=builder /src/json/docs/mkdocs/site /www
|
||||
ADD ./config/ /app/config/
|
||||
EXPOSE 8080/tcp
|
3
build.sh
Executable file
3
build.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build . -t gitfox.ru/victor/json-cpp
|
15
config/config.json
Normal file
15
config/config.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"listeners": {
|
||||
"*:8080": {
|
||||
"pass": "routes"
|
||||
}
|
||||
},
|
||||
|
||||
"routes": [
|
||||
{
|
||||
"action": {
|
||||
"share": "/www$uri"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
3
push.sh
Executable file
3
push.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker push gitfox.ru/victor/json-cpp
|
Loading…
x
Reference in New Issue
Block a user