feat: add public Docker deployment stack
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
FROM node:24.18.0-bookworm-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates curl git openssh-client procps tini \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& corepack enable \
|
||||
&& corepack prepare pnpm@11.17.0 --activate
|
||||
|
||||
COPY --chmod=755 runtime/entrypoint.sh /usr/local/bin/sammo-entrypoint
|
||||
COPY --chmod=755 runtime/redis-entrypoint.sh /opt/sammo/redis-entrypoint.sh
|
||||
COPY runtime/ecosystem.config.cjs runtime/bootstrap.mjs /opt/sammo/
|
||||
|
||||
WORKDIR /srv/core/repository
|
||||
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/sammo-entrypoint"]
|
||||
Reference in New Issue
Block a user