Skip to content

Commit

Permalink
Merge pull request #78 from davewalker5/dependabot-updates
Browse files Browse the repository at this point in the history
Dependabot updates
  • Loading branch information
davewalker5 authored Jan 16, 2024
2 parents 81383ac + fccbd42 commit 1424a48
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM python:3.10-slim-bullseye AS runtime

COPY naturerecorderpy-1.1.1.0 /opt/naturerecorderpy-1.1.1.0
COPY naturerecorderpy-1.1.2.0 /opt/naturerecorderpy-1.1.2.0

WORKDIR /opt/naturerecorderpy-1.1.1.0
WORKDIR /opt/naturerecorderpy-1.1.2.0

RUN apt-get update -y
RUN pip install -r requirements.txt
RUN pip install nature_recorder-1.1.1-py3-none-any.whl
RUN pip install nature_recorder-1.1.2-py3-none-any.whl

ENV NATURE_RECORDER_DATA_FOLDER=/var/opt/naturerecorderpy-1.1.1.0
ENV NATURE_RECORDER_DB=/var/opt/naturerecorderpy-1.1.1.0/naturerecorder.db
ENV NATURE_RECORDER_DATA_FOLDER=/var/opt/naturerecorderpy-1.1.2.0
ENV NATURE_RECORDER_DB=/var/opt/naturerecorderpy-1.1.2.0/naturerecorder.db

ENTRYPOINT [ "python" ]
CMD [ "-m", "naturerec_web", "production" ]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ h11==0.12.0
idna==3.3
imagesize==1.3.0
itsdangerous==2.0.1
Jinja2==3.0.3
Jinja2==3.1.3
kiwisolver==1.3.2
locust==2.5.1
Mako==1.2.4
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def find_package_files(directory, remove_root):

setuptools.setup(
name="nature_recorder",
version="1.1.1",
version="1.1.2",
description="Wildlife sightings database",
packages=setuptools.find_packages("src"),
include_package_data=True,
Expand Down

0 comments on commit 1424a48

Please sign in to comment.