Skip to content

Commit

Permalink
Move Dockerfile to build current source, rather than release. (#57)
Browse files Browse the repository at this point in the history
* Move Dockerfile to build current source, rather than release.

* Less steps.
  • Loading branch information
hcpadkins authored Oct 1, 2024
1 parent f08e53b commit bcf966b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

FROM python:3.9-slim
FROM python:3.12-slim

RUN pip install --no-cache-dir grove
# Copy in Grove ready for installation.
WORKDIR /tmp/grove
COPY grove grove/
COPY pyproject.toml .

# Install Grove from sources, and clean-up.
RUN pip install --no-cache-dir /tmp/grove && \
rm -rf /tmp/grove

ENTRYPOINT ["grove"]

0 comments on commit bcf966b

Please sign in to comment.