Skip to content

Commit

Permalink
Added dockerfile to help test scripts related to deploy and test, on …
Browse files Browse the repository at this point in the history
…linux envs
  • Loading branch information
rrg92 committed Sep 17, 2024
1 parent 19b3831 commit 699287e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM mcr.microsoft.com/powershell:ubuntu-22.04

RUN apt update
RUN apt install -y git

WORKDIR /powershai
COPY . .
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
services:
powershai-publish-test:
build: .
environment:
HF_API_TOKEN: $HF_API_TOKEN
OPENAI_API_KEY: $OPENAI_API_KEY
GOOGLE_API_KEY: $GOOGLE_API_KEY
POWERSHAI_TEST_MODELS: google/gemini-1.5-flash,openai/gpt-4o-mini
command: pwsh -NonInteractive -File ./util/publish-prepare.ps1 -BasicTest -CompileDoc -Publish

0 comments on commit 699287e

Please sign in to comment.