You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
679 B

  1. FROM alpine:3.5
  2. LABEL maintainer="fehguy"
  3. ENV VERSION "v2.2.10"
  4. ENV FOLDER "swagger-ui-2.2.10"
  5. ENV API_URL "https://petstore.swagger.io/v2/swagger.json"
  6. ENV API_URLS ""
  7. ENV API_KEY "**None**"
  8. ENV OAUTH_CLIENT_ID "**None**"
  9. ENV OAUTH_CLIENT_SECRET "**None**"
  10. ENV OAUTH_REALM "**None**"
  11. ENV OAUTH_APP_NAME "**None**"
  12. ENV OAUTH_ADDITIONAL_PARAMS "**None**"
  13. ENV SWAGGER_JSON "/app/swagger.json"
  14. ENV PORT 8080
  15. ENV BASE_URL ""
  16. RUN apk add --update nginx
  17. RUN mkdir -p /run/nginx
  18. COPY nginx.conf /etc/nginx/
  19. # copy swagger files to the `/js` folder
  20. ADD ./dist/* /usr/share/nginx/html/
  21. ADD ./docker-run.sh /usr/share/nginx/
  22. EXPOSE 8080
  23. CMD ["sh", "/usr/share/nginx/docker-run.sh"]