Skip to content

Commit

Permalink
Build docker dev environment from source instead of pypi package (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturoGuerra authored Jan 10, 2023
1 parent 55e9864 commit 94abe95
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 94abe95

Please sign in to comment.