Parcourir la source

using version in release docker image build

Rodja Trappe il y a 2 ans
Parent
commit
bfb3a660b0
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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