fix: change version

This commit is contained in:
Stepan Zhukovsky 2025-05-07 21:17:41 +09:00
parent 6bbebd5a7a
commit e87c1679e4

View File

@ -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