FROM node:alpine LABEL maintainer="Johannes Schickling " ENV VERSION "v2.2.10" ENV FOLDER "swagger-ui-2.2.10" ENV API_URL "http://petstore.swagger.io/v2/swagger.json" ENV API_KEY "**None**" ENV OAUTH_CLIENT_ID "**None**" ENV OAUTH_CLIENT_SECRET "**None**" ENV OAUTH_REALM "**None**" ENV OAUTH_APP_NAME "**None**" ENV OAUTH_ADDITIONAL_PARAMS "**None**" ENV SWAGGER_JSON "/app/swagger.json" ENV PORT 80 WORKDIR /app RUN apk add --no-cache openssl \ && wget -qO- https://github.com/swagger-api/swagger-ui/archive/$VERSION.tar.gz | tar xvz \ && cp -r $FOLDER/dist/* . \ && rm -rf $FOLDER \ && npm install -g http-server \ && apk del openssl ADD run.sh run.sh # webserver port EXPOSE 80 CMD ["sh", "run.sh"]