mirror of
https://github.com/len0rd/personal-website.git
synced 2025-03-01 03:51:57 -05:00
use bash script to run site
This commit is contained in:
parent
b52ddcb0d8
commit
d8fa64a9ae
|
@ -24,8 +24,7 @@ ENV XVFB_DISPLAY ":42"
|
||||||
FROM dev as prod
|
FROM dev as prod
|
||||||
|
|
||||||
# Bundle app source
|
# Bundle app source
|
||||||
COPY . .
|
COPY . /website
|
||||||
RUN ablog build
|
WORKDIR /website
|
||||||
|
|
||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
CMD [ "ablog", "serve", "-p", "8090" ]
|
CMD [ "./container_serve.sh" ]
|
||||||
|
|
1
conf.py
1
conf.py
|
@ -13,7 +13,6 @@ extensions = [
|
||||||
"sphinxcontrib.drawio",
|
"sphinxcontrib.drawio",
|
||||||
]
|
]
|
||||||
|
|
||||||
html_static_path = ["_static"]
|
|
||||||
templates_path = ["_templates"]
|
templates_path = ["_templates"]
|
||||||
|
|
||||||
blog_baseurl = "https://lenord.me/"
|
blog_baseurl = "https://lenord.me/"
|
||||||
|
|
4
container_serve.sh
Executable file
4
container_serve.sh
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
ablog build
|
||||||
|
ablog serve -p 8090
|
Loading…
Reference in a new issue