You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
462 B
Plaintext

FROM node:18-bullseye-slim
4 years ago
ENV HOME=/opt/sealious-app
4 years ago
# Tini will ensure that any orphaned processes get reaped properly.
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN apt update
RUN apt install -y git
RUN apt install -y tmux
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
4 years ago
VOLUME $HOME
WORKDIR $HOME
RUN npm install -g npm@latest
4 years ago
USER $UID:$GID
EXPOSE 8080
CMD ["/usr/local/bin/node", "."]