-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (31 loc) · 820 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (31 loc) · 820 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
version: '3.8'
services:
blazorserver:
build:
#context: ./OpenAIChatGPTBlazor
dockerfile: OpenAIChatGPTBlazor/Dockerfile
ports:
- "5255:80"
env_file: playwright.env
playwrighttest:
build:
dockerfile: Tests/UiTests/Dockerfile
# volumes:
# - ./:/tests/
# working_dir: /tests/UiTests
depends_on:
- blazorserver
environment:
- AppUrl=http://blazorserver:80
# command:
# - /bin/bash
# - -c
# - |
# dotnet version
# pwsh -c @"
# Write-Host "Installing global tools"
# dotnet tool install --global Microsoft.Playwright.CLI
# /root/.dotnet/tools/playwright install
# Write-Host "Running the tests"
# dotnet test --no-build --verbosity normal
# "@