Skip to content

Commit

Permalink
Fix docker file (attempt)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouwh committed Sep 16, 2024
1 parent c15548e commit 5e5a471
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ COPY apps/omnikdatalogger/. apps/omnikdatalogger/

RUN pip3 install -r requirements.txt --upgrade && \
python setup.py install && \
adduser -D -u 1000 omnik && \
adduser -u 1000 omnik && \
mkdir /config && \
chown omnik.users -R /config && \
cp /source/apps/omnikdatalogger/data_fields.json /home/omnik/data_fields.json
chown omnik.users -R /config &&

WORKDIR /home/omnik
USER omnik

COPY apps/omnikdatalogger/data_fields.json /home/omnik/data_fields.json

EXPOSE 10004

ENTRYPOINT ["omniklogger.py"]
Expand Down
2 changes: 1 addition & 1 deletion apps/omnikdatalogger/omnik/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

logging.basicConfig(stream=sys.stdout, level=os.environ.get("LOGLEVEL", logging.INFO))

__version__ = "1.14.5"
__version__ = "1.14.5-1"

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 5e5a471

Please sign in to comment.