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