Skip to content

Commit c8405db

Browse files
committed
ci: strip dockerfile from runtime images
1 parent 1d30fa1 commit c8405db

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ COPY src ./src
5454
RUN pip install --upgrade pip \
5555
&& pip install --no-cache-dir . \
5656
&& rm -rf /usr/local/lib/node_modules /usr/local/bin/node /usr/local/bin/npm /usr/local/bin/npx \
57+
&& rm -f Dockerfile \
5758
&& [ ! -d /usr/local/lib/node_modules ]
5859

5960
COPY README.md ./

containers/ai-eval-runner/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ COPY package*.json ./
77

88
RUN npm ci --omit=dev \
99
&& rm -rf /usr/local/lib/node_modules /usr/local/bin/npm /usr/local/bin/npx /root/.npm \
10+
&& rm -f Dockerfile \
1011
&& [ ! -d /usr/local/lib/node_modules ]
1112

1213
RUN set -eux; \

0 commit comments

Comments
 (0)