Dockerfile 210 B

123456789
  1. FROM nginx:alpine
  2. ENV APP_ENV='prod'
  3. WORKDIR /app
  4. COPY dist /app/dist
  5. COPY build/conf /app/conf
  6. COPY docker/nginx.conf /etc/nginx/conf.d/
  7. COPY docker/run.sh /app/run.sh
  8. RUN chmod 755 run.sh
  9. CMD ["sh","run.sh"]