We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bf344e commit 3d2aa4dCopy full SHA for 3d2aa4d
2 files changed
Dockerfile
@@ -1,11 +1,10 @@
1
from python:3-alpine
2
3
-run apk add --no-cache --virtual .build-deps gcc g++ make libffi-dev openssl-dev
+run apk add --no-cache --virtual .build-deps gcc g++ make libffi-dev openssl-dev git
4
5
-copy ["README.md", "setup.py", "/modbus4mqtt/"]
6
-copy ["./modbus4mqtt/*", "/modbus4mqtt/modbus4mqtt/"]
+copy ["./dist/*.whl", "/modbus4mqtt/"]
7
8
-run pip install /modbus4mqtt
+run pip install /modbus4mqtt/*.whl
9
10
run apk del .build-deps
11
build.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+rm -r dist
+uv build .
+docker build -t tjhowse/modbus4mqtt:1.0.0-rc1 .
0 commit comments