Skip to content

Commit

Permalink
Merge pull request #2094 from hirosystems/chore/remove-jre
Browse files Browse the repository at this point in the history
chore: java runtime no longer required in dockerfile to build
  • Loading branch information
zone117x authored Sep 27, 2024
2 parents 1ce75de + 32a1645 commit 06620c9
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 @@ -5,10 +5,10 @@ COPY . .
COPY --from=qldrsc/duckdb /usr/local/bin/duckdb /bin/duckdb

RUN apt-get update && \
apt-get install -y git openjdk-17-jre && \
apt-get install -y git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env
RUN npm ci && npm run build && npm run build:docs && npm prune --production
RUN npm ci --no-audit && npm run build && npm run build:docs && npm prune --production

CMD ["node", "./lib/index.js"]

0 comments on commit 06620c9

Please sign in to comment.