Let's go with root folder.
This commit is contained in:
		
							parent
							
								
									d1b821a8c7
								
							
						
					
					
						commit
						6e62c3728a
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -11,9 +11,9 @@ RUN go build -o guestbooky-backup cmd/guestbooky-backup/guestbooky-backup.go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM alpine:latest  
 | 
					FROM alpine:latest  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WORKDIR /app
 | 
					WORKDIR /root
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY --from=builder /app/guestbooky-backup .
 | 
					COPY --from=builder /app/guestbooky-backup .
 | 
				
			||||||
RUN chmod +x /app/guestbooky-backup
 | 
					RUN chmod +x /root/guestbooky-backup
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CMD ["./app/guestbooky-backup"]
 | 
					CMD ["./guestbooky-backup"]
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue