File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ WORKDIR /build
6969
7070RUN mkdir out
7171
72+ COPY ../package.json /build/package.json
73+
7274# For now, we need to use `--unsafe-perm=true` to go around an issue when npm tries
7375# to create a new folder. For reference:
7476# https://github.com/puppeteer/puppeteer/issues/375
7577#
7678# We also specify the version in case we need to update it to go around cache limitations.
77- RUN npm install -g
[email protected] --unsafe-perm=true
78-
79- EXPOSE 3000
79+ RUN npm install -g --unsafe-perm=true /build
8080
8181CMD ["node", "/build/out/gui-tests/tester.js"]
Original file line number Diff line number Diff line change 3232
3333. .env
3434
35+ set +e # We disable the "exit right away if command failed" setting.
3536cargo run -- start-web-server &
3637SERVER_PID=$!
3738
3839# status="docker run . -v `pwd`:/build/out:ro gui_tests"
39- docker compose run gui_tests
40+ docker compose run --rm gui_tests
4041status=$?
4142kill $SERVER_PID
4243exit $status
You can’t perform that action at this time.
0 commit comments