From 94abe952445e796b3906aec0234e2cdc5e9f0fad Mon Sep 17 00:00:00 2001 From: Arturo Guerra Date: Tue, 10 Jan 2023 01:53:57 -0600 Subject: [PATCH] Build docker dev environment from source instead of pypi package (#164) --- Dockerfile.dev | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index f87e9094..f3093456 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -3,8 +3,6 @@ FROM debian:bullseye # Set shell SHELL ["/bin/bash", "-o", "pipefail", "-c"] -ARG MATTER_SERVER_VERSION=1.0.8 - WORKDIR /app RUN \ @@ -36,11 +34,13 @@ RUN \ && rm -rf /var/lib/apt/lists/* \ && rm -rf /usr/src/* + +COPY . ./ + # hadolint ignore=DL3013 RUN \ - pip3 install --no-cache-dir python-matter-server[server]=="${MATTER_SERVER_VERSION}" - -COPY docker-entrypoint.sh ./ + pip3 install -U pip && \ + pip3 install --no-cache-dir .[server] VOLUME ["/data"] EXPOSE 5580