Explorar o código

using version in release docker image build

Rodja Trappe %!s(int64=2) %!d(string=hai) anos
pai
achega
bfb3a660b0
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      release.dockerfile

+ 2 - 1
release.dockerfile

@@ -1,8 +1,9 @@
+ARG VERSION
 FROM python:3.11-slim
 
 LABEL maintainer="Zauberzeug GmbH <info@zauberzeug.com>"
 
-RUN python -m pip install nicegui
+RUN python -m pip install nicegui==$VERSION
 
 WORKDIR /app