Fix Dockerfile to be able to test swagger spec
[osm/SOL005.git] / Dockerfile
index 2760e73..8cc0a7d 100644 (file)
@@ -18,6 +18,8 @@
 FROM ubuntu:18.04
 
 RUN apt-get update && apt-get install -y git build-essential nodejs npm
+RUN npm install -g npm@latest
+RUN npm install --save @openapi-contrib/json-schema-to-openapi-schema
 RUN npm install -g swagger-cli
 RUN npm install -g speccy