This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run it | |
# docker build -t prebid . | |
# docker run -ti -v "$(pwd):/Prebid.js" prebid:latest npm run build | |
# syntax=docker/dockerfile:1 | |
FROM node:12-alpine AS build | |
COPY package*.json ./ | |
RUN npm install --production | |
FROM node:12-alpine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
function getParameterByName(name) { | |
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); | |
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | |
results = regex.exec(location.search); | |
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); | |
} | |
jQuery(document).ready(function() { | |
var siteURL = "http://" + top.location.host.toString(); |