Skip to content

Commit 5690dbf

Browse files
author
aligneddev
committed
devcontainer - playwright
1 parent c7c6ca8 commit 5690dbf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.devcontainer/devcontainer.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,7 @@ RUN dotnet tool restore && dotnet restore BikeTracking.slnx
5050
# ~/.npm is outside the workspace bind mount, so the cache persists at runtime,
5151
# making postCreateCommand "npm ci" fast without re-downloading packages.
5252
COPY src/BikeTracking.Frontend/package.json src/BikeTracking.Frontend/package-lock.json /tmp/npm-warmup/
53-
RUN npm ci --prefix /tmp/npm-warmup && rm -rf /tmp/npm-warmup
53+
RUN npm ci --prefix /tmp/npm-warmup \
54+
&& npm exec --prefix /tmp/npm-warmup -- playwright install \
55+
&& rm -rf /tmp/npm-warmup
5456

0 commit comments

Comments
 (0)