Skip to content

Commit

Permalink
Merge branch 'main' into db_and_replay
Browse files Browse the repository at this point in the history
  • Loading branch information
ltindall authored Nov 29, 2023
2 parents 42e7e82 + c66b877 commit 8e10cc1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@ ENV PYTHONUNBUFFERED 1
COPY pyproject.toml .
COPY poetry.lock .

RUN apt-get update && apt-get install -y libjpeg-dev python3 python3-pip python3-venv
RUN apt-get update && apt-get install -y libjpeg-dev python3 python3-pip
ENV PATH="${PATH}:/root/.local/bin"
RUN apt-get update && apt-get install -y --no-install-recommends curl gcc git g++ libev-dev libyaml-dev tini && \
python3 -m pip install pipx && \
python3 -m pipx ensurepath && \
pipx install poetry && \
RUN apt-get update && \
apt-get install -y --no-install-recommends curl gcc git g++ libev-dev libyaml-dev tini && \
curl -sSL https://install.python-poetry.org | python3 - --version 1.4.2 && \
poetry config virtualenvs.create false && \
python3 -m pip install --no-cache-dir --upgrade pip && \
poetry install --no-root && \
apt-get purge -y gcc g++ && apt -y autoremove --purge && rm -rf /var/cache/* /root/.cache/*

COPY . /BirdsEye
WORKDIR /BirdsEye
EXPOSE 4999
RUN python3 geolocate.py --help
ENTRYPOINT ["python3", "geolocate.py"]
CMD ["geolocate.ini"]
2 changes: 1 addition & 1 deletion geolocate.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ experiment_name = repp_dev
####
# MQTT
####
#mqtt_host = 0.0.0.0
mqtt_host = mqtt
#mqtt_host = host.docker.internal
mqtt_port = 1883

Expand Down

0 comments on commit 8e10cc1

Please sign in to comment.