Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 1 | FROM node:10.13.0-stretch as base |
2 | WORKDIR /code | ||||
3 | ADD . . | ||||
4 | RUN cp flatc_debian_stretch flatc | ||||
5 | WORKDIR /code/tests | ||||
6 | RUN node --version | ||||
7 | RUN ../flatc -b -I include_test monster_test.fbs unicode_test.json | ||||
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame^] | 8 | RUN npm install |
9 | RUN npm run pretest | ||||
Austin Schuh | e89fa2d | 2019-08-14 20:24:23 -0700 | [diff] [blame] | 10 | RUN node JavaScriptTest ./monster_test_generated |