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.
 
 
 
 

28 lines
636 B

  1. FROM nginx:1.15-alpine
  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. COPY nginx.conf /etc/nginx/
  17. # copy swagger files to the `/js` folder
  18. COPY ./dist/* /usr/share/nginx/html/
  19. COPY ./docker-run.sh /usr/share/nginx/
  20. EXPOSE 8080
  21. CMD ["sh", "/usr/share/nginx/docker-run.sh"]