Skip to content

Commit

Permalink
Update Dockerfile to remove in-tree-build
Browse files Browse the repository at this point in the history
  • Loading branch information
cbpowell authored May 6, 2023
1 parent bcde5f1 commit c37782f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ MAINTAINER Charles Powell <[email protected]>

# Install all dependencies
ADD . /senselink
RUN pip install /senselink --use-feature=in-tree-build
RUN pip install /senselink

# Make non-root user
RUN useradd --create-home appuser
WORKDIR /home/appuser
USER appuser

# Run
CMD ["python", "-m", "senselink"]
CMD ["python", "-m", "senselink"]

0 comments on commit c37782f

Please sign in to comment.