Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

20 linhas
382 B

  1. FROM alpine:3.4
  2. MAINTAINER fehguy
  3. RUN apk add --update nginx
  4. RUN mkdir -p /run/nginx
  5. COPY nginx.conf /etc/nginx/
  6. # copy swagger files to the `/js` folder
  7. ADD ./dist/ /usr/share/nginx/html/js
  8. ADD ./public/index.html /usr/share/nginx/html
  9. # change the folder structure
  10. RUN sed -i 's/\.\.\/dist/js/g' /usr/share/nginx/html/index.html
  11. EXPOSE 8080
  12. CMD exec nginx -g 'daemon off;'