Skip to content

Commit

Permalink
Install application and pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
smsearcy committed Sep 22, 2022
1 parent 5c1100f commit 07e0e1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM python:3.10-bullseye
# but I don't really want to install that in this container
# (need to figure out another way to test this locally w/ containers - start another service?)
RUN apt-get update && \
apt-get install -y libpq-dev librrd-dev && \
apt-get install -y libpq-dev librrd-dev pre-commit && \
rm -rf /var/lib/apt/lists/*

WORKDIR /opt/mesh-info/src
Expand All @@ -20,6 +20,7 @@ COPY dev-requirements.txt /tmp/dev-requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt -r /tmp/dev-requirements.txt

COPY . .
RUN pip install --no-cache-dir -e /opt/mesh-info/src

EXPOSE 8000

Expand Down

0 comments on commit 07e0e1d

Please sign in to comment.