-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (29 loc) · 911 Bytes
/
Dockerfile
File metadata and controls
36 lines (29 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM golang:1.20-alpine
RUN apk update
RUN apk add --no-cache --update \
bash \
cargo \
git \
gcc \
libffi-dev \
make \
musl-dev \
openssl-dev \
python3 \
py3-pip \
python3-dev
WORKDIR /InnovationEngine
# Create a virtual environment and install the experimental Authoring Tools and az cli
RUN python3 -m venv /InnovationEngine/venv
RUN /InnovationEngine/venv/bin/pip install openai azure-identity requests pygithub
RUN /InnovationEngine/venv/bin/pip install azure-cli
ENV VIRTUAL_ENV=/InnovationEngine/venv
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN mkdir -p AuthoringTools
RUN wget -O AuthoringTools/ada.py https://raw.githubusercontent.com/naman-msft/exec/main/tools/ada.py
RUN chmod +x AuthoringTools/ada.py
# Install the Innovation Engine
COPY . .
RUN make build-ie
ENV PATH="/InnovationEngine/bin:${PATH}"
CMD ["sh", "-c", "ie execute docs/helloWorldDemo.md"]