Dockerfile 215 B

1234567
  1. FROM nginx:latest
  2. COPY nginx.conf /etc/nginx/nginx.conf
  3. COPY ./ /usr/share/nginx/html
  4. CMD ["sh", "-c", "sed -i \"s@<html@<html data-env=\"$API_ENV\"@\" /usr/share/nginx/html/index.html; nginx -g \"daemon off;\""]