Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

28 lignes
659 B

  1. # Looking for information on environment variables?
  2. # We don't declare them here — take a look at our docs.
  3. # https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md
  4. FROM nginx:1.15-alpine
  5. RUN apk add nodejs
  6. LABEL maintainer="fehguy"
  7. ENV API_KEY "**None**"
  8. ENV SWAGGER_JSON "/app/swagger.json"
  9. ENV PORT 8080
  10. ENV BASE_URL ""
  11. COPY ./docker/nginx.conf /etc/nginx/
  12. # copy swagger files to the `/js` folder
  13. COPY ./dist/* /usr/share/nginx/html/
  14. COPY ./docker/run.sh /usr/share/nginx/
  15. COPY ./docker/configurator /usr/share/nginx/configurator
  16. RUN chmod +x /usr/share/nginx/run.sh
  17. EXPOSE 8080
  18. CMD ["sh", "/usr/share/nginx/run.sh"]