-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (22 loc) · 715 Bytes
/
Dockerfile
File metadata and controls
27 lines (22 loc) · 715 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
# Base image: Microsoft Playwright (includes Node.js, npm, Playwright, and browsers)
FROM mcr.microsoft.com/playwright:v1.59.1-jammy
# Install Azure CLI
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
ca-certificates \
curl \
apt-transport-https \
lsb-release \
gnupg \
&& curl -sL https://aka.ms/InstallAzureCLIDeb | bash \
&& rm -rf /var/lib/apt/lists/*
# Optional: verify installations at build time
RUN node --version \
&& npm --version \
&& npx playwright --version \
&& az --version
# Set default working directory
WORKDIR /app
# Keep container ready for CI usage
# (Project code will be mounted/copied by the pipeline)