Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
davewalker5 committed Feb 18, 2022
1 parent 7896550 commit 14c1f34
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 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.0.22.0 /opt/naturerecorderpy-1.0.22.0
COPY naturerecorderpy-1.0.23.0 /opt/naturerecorderpy-1.0.23.0

WORKDIR /opt/naturerecorderpy-1.0.22.0
WORKDIR /opt/naturerecorderpy-1.0.23.0

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

ENV NATURE_RECORDER_DATA_FOLDER=/var/opt/naturerecorderpy-1.0.22.0
ENV NATURE_RECORDER_DB=/var/opt/naturerecorderpy-1.0.22.0/naturerecorder.db
ENV NATURE_RECORDER_DATA_FOLDER=/var/opt/naturerecorderpy-1.0.23.0
ENV NATURE_RECORDER_DB=/var/opt/naturerecorderpy-1.0.23.0/naturerecorder.db

ENTRYPOINT [ "python" ]
CMD [ "-m", "naturerec_web" ]
CMD [ "-m", "naturerec_web", "production" ]
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.0.22",
version="1.0.23",
description="Wildlife sightings database",
packages=setuptools.find_packages("src"),
include_package_data=True,
Expand Down

0 comments on commit 14c1f34

Please sign in to comment.