This commit is contained in:
Louis Lam
2022-07-22 23:15:55 +08:00
parent 301b2007a0
commit b0d39b44ce
4 changed files with 11 additions and 5 deletions

View File

@@ -20,11 +20,16 @@ HEALTHCHECK --interval=60s --timeout=30s --start-period=180s --retries=5 CMD nod
ENTRYPOINT ["/usr/bin/dumb-init", "--", "extra/entrypoint.sh"]
CMD ["node", "server/server.js"]
FROM release AS mariadb
# Install MariaDB
RUN apt update && \
apt --yes --no-install-recommends install mariadb-server && \
rm -rf /var/lib/apt/lists/* && \
apt --yes autoremove
FROM release AS nightly
FROM mariadb AS nightly
RUN npm run mark-as-nightly
# Upload the artifact to Github
FROM louislam/uptime-kuma:base-debian AS upload-artifact
WORKDIR /