Skip to content

Commit

Permalink
backport rest of Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed May 30, 2024
1 parent 64f9fb6 commit 060d095
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=python:3.11-slim-bullseye
ARG BASE_IMAGE=python:3.12-slim-bullseye
# hadolint ignore=DL3006
FROM ${BASE_IMAGE} as base

Expand Down Expand Up @@ -61,4 +61,8 @@ ENV LANG=C.UTF-8

ENV PATH=${HOME}/.local/bin:${PATH}

# The first ever run of the CLI API incurs some overhead so do that during the
# build instead of making the user wait
RUN pyhf --version

ENTRYPOINT ["/usr/local/venv/bin/pyhf"]

0 comments on commit 060d095

Please sign in to comment.