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.
25 lines
438 B
Plaintext
25 lines
438 B
Plaintext
2 years ago
|
FROM node:18-bullseye-slim
|
||
|
|
||
|
ENV HOME=/opt/sealious-app
|
||
|
|
||
|
# 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 chmod +x /tini
|
||
|
ENTRYPOINT ["/tini", "--"]
|
||
|
|
||
|
VOLUME $HOME
|
||
|
WORKDIR $HOME
|
||
|
|
||
|
RUN npm install -g npm@latest
|
||
|
|
||
|
USER $UID:$GID
|
||
|
|
||
|
EXPOSE 8080
|
||
|
|
||
|
CMD ["/usr/local/bin/node", "."]
|