fix(Dockerfile): change version #19
							
								
								
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							| @ -1,14 +1,14 @@ | ||||
| # app/Dockerfile | ||||
| 
 | ||||
| # pull the official docker image | ||||
| FROM python:3.12-alpine as poetry-base | ||||
| FROM python:3.12-alpine AS poetry-base | ||||
| 
 | ||||
| # default build args | ||||
| ARG APP_VERSION=0.1.0 \ | ||||
| ARG APP_VERSION=0.1.1 \ | ||||
|     APP_DIR=/app \ | ||||
|     SRC_DIR=./mgrctl \ | ||||
|     PKG_NAME=mgrctl \ | ||||
|     PKG_VERSION=0.1.0 | ||||
|     PKG_VERSION=0.1.1 | ||||
| 
 | ||||
| # set env variables | ||||
| ENV APP_NAME=mgrctl \ | ||||
| @ -26,7 +26,7 @@ ENV APP_NAME=mgrctl \ | ||||
|     POETRY_VIRTUALENVS_CREATE=false \ | ||||
|     POETRY_CACHE_DIR='/var/cache/pypoetry' \ | ||||
|     POETRY_HOME='/usr/local' \ | ||||
|     POETRY_VERSION=1.7.1 | ||||
|     POETRY_VERSION=2.1.2 | ||||
| 
 | ||||
| # install system deps | ||||
| RUN apk --no-cache add curl \ | ||||
| @ -47,7 +47,7 @@ RUN poetry build --format wheel \ | ||||
| # now multistage builds | ||||
| FROM python:3.12-alpine | ||||
| 
 | ||||
| # copy app and dependences | ||||
| # copy app and dependencies | ||||
| COPY --from=poetry-base /usr/local/ /usr/local/ | ||||
| 
 | ||||
| # install bash and mgrctl shell completion | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user