mirror of
https://github.com/len0rd/personal-website.git
synced 2025-02-28 19:42:15 -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
|
||||
|
||||
# Bundle app source
|
||||
COPY . .
|
||||
RUN ablog build
|
||||
|
||||
COPY . /website
|
||||
WORKDIR /website
|
||||
EXPOSE 8090
|
||||
CMD [ "ablog", "serve", "-p", "8090" ]
|
||||
CMD [ "./container_serve.sh" ]
|
||||
|
|
1
conf.py
1
conf.py
|
@ -13,7 +13,6 @@ extensions = [
|
|||
"sphinxcontrib.drawio",
|
||||
]
|
||||
|
||||
html_static_path = ["_static"]
|
||||
templates_path = ["_templates"]
|
||||
|
||||
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