mirror of
				https://github.com/KevinMidboe/mktxp-no-cli.git
				synced 2025-10-29 17:50:23 +00:00 
			
		
		
		
	Disable running app as root
This commit is contained in:
		
							
								
								
									
										5
									
								
								.dockerignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.dockerignore
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| .git | ||||
| .gitignore | ||||
| .dockerignore | ||||
| Dockerfile | ||||
| k8s | ||||
| @@ -4,5 +4,7 @@ WORKDIR /mktxp | ||||
| COPY . . | ||||
| RUN pip install ./ && apk add nano | ||||
| EXPOSE 49090 | ||||
| RUN addgroup -S mktxp && adduser -S mktxp -G mktxp | ||||
| USER mktxp | ||||
| ENTRYPOINT ["/usr/local/bin/mktxp"] | ||||
| CMD ["export"] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user