From b492ff740b7f7ddd29f879dac8453d6c5d17bf74 Mon Sep 17 00:00:00 2001 From: Nikhil Woodruff <35577657+nikhilwoodruff@users.noreply.github.com> Date: Thu, 8 Feb 2024 15:14:49 +0000 Subject: [PATCH] Add dockerfile for reproducibility --- .github/workflows/pr.yml | 9 +++++++++ Dockerfile | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 382e96e0..67e4971f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,3 +22,12 @@ jobs: run: make install - name: Test the repo run: make test + - name: Log in to the Container registry + uses: docker/login-action + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build container + run: docker build -t ghcr.io/pslmodels/tax-microdata-benchmarking + diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..18e9cfeb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM python:3.10 +WORKDIR /app +COPY . . +RUN pip install .