Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

28 řádky
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"]