Summary: -- Reviewers: #reviewers Subscribers: jenkins-user Differential Revision: https://hub.sealcode.org/D1606
		
			
				
	
	
		
			27 lines
		
	
	
		
			494 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			494 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM node:22-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 apt install -y tmux
 | 
						|
 | 
						|
RUN chmod +x /tini
 | 
						|
ENTRYPOINT ["/tini", "--"]
 | 
						|
 | 
						|
VOLUME $HOME
 | 
						|
WORKDIR $HOME
 | 
						|
 | 
						|
RUN npm install -g npm@7
 | 
						|
RUN npm install -g @sealcode/sealgen
 | 
						|
 | 
						|
USER $UID:$GID
 | 
						|
 | 
						|
EXPOSE 8080
 | 
						|
 | 
						|
CMD ["/usr/local/bin/node", "."]
 |