Dockerfile 229 B

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