Commit 102cf4fa authored by nanahira's avatar nanahira

egg

parent 948648f5
Pipeline #10234 passed with stages
in 29 seconds
......@@ -14,5 +14,6 @@ ENV HOME /home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
ENV KOISHIPT_URL_PREFIX https://panel.momobako.com/koishi/
CMD ["/bin/bash", "/entrypoint.sh"]
{
"server.properties": {
"parser": "yaml",
"find": {
"port": "{{server.build.default.port}}",
"plugins.console.open": false,
"selfUrl": "{{env.URL_PREFIX}}{{server.build.default.port}}"
}
}
}
{
"done": "server listening at",
"userInteraction": []
}
......@@ -4,6 +4,8 @@ cd /home/container
echo "Installing dependencies..."
npm install
echo "Visit ${URL_PREFIX}${SERVER_PORT} for Koishi web UI."
# Replace Startup Variables
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
echo ":/home/container$ ${MODIFIED_STARTUP}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment