Skip to content

[CI] [UI tests] [Docker example] Build and test the docker example app, streamline it for size. #7

[CI] [UI tests] [Docker example] Build and test the docker example app, streamline it for size.

[CI] [UI tests] [Docker example] Build and test the docker example app, streamline it for size. #7

Workflow file for this run

name: docker-example
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-test:
name: Build image
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Build example-docker
run: |
cd examples/docker
docker build -t tte .
- name: Test
run: |
docker run --init -d -p 0.0.0.0:4000:4000 --name tte-1 tte
# ln -s example-package.json package.json
# yarn test:docker
sleep 20
wget https://localhost:4000