mcsunucu / Dockerfile
github-actions[bot]
deploy: bootstrap only
4b37ddf
Raw
History Blame Contribute Delete
588 Bytes
FROM eclipse-temurin:25-jre-jammy
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates curl gnupg git bash tini tmux \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& node -v \
&& npm -v \
&& java -version \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /space-bootstrap
COPY hf/start.sh /space-bootstrap/start.sh
RUN chmod +x /space-bootstrap/start.sh
ENV NODE_ENV=production
ENV PORT=7860
EXPOSE 7860
ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["/space-bootstrap/start.sh"]