This commit is contained in:
Louis Lam
2023-11-06 21:24:06 +08:00
parent d7f4873405
commit 21e736459e
15 changed files with 82 additions and 27 deletions

View File

@@ -1,3 +1,6 @@
############################################
# ⭐ Main Image
############################################
FROM louislam/dockge:base
WORKDIR /app
COPY --chown=node:node . .
@@ -7,3 +10,10 @@ VOLUME /app/data
EXPOSE 5001
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["tsx", "./backend/index.ts"]
############################################
# Mark as Nightly
############################################
FROM release AS nightly
RUN pnpm run mark-as-nightly