Mocking CDN served Content with node environment at build time
319
Mocking CDN served Content with node environment at build time
80
change it with giving the image a different environment variable called PORT
cdn:
environment:
- PORT=3000
ports:
- "3000:3000"
Build your own dockerfile and start it with:
FROM julianbei/node-ci-cdn-mock:latest
COPY . .
RUN yarn
RUN npm test
RUN npm build
the result must be a ./dist folder.
Abosulte path is: /server/app/dist
Content type
Image
Digest
Size
26.2 MB
Last updated
almost 10 years ago
docker pull julianbei/node-ci-cdn-mock