michaeljolley / onlythemes

VS Code themes that match your personality profile.
https://marketplace.visualstudio.com/items?itemName=builders-club.onlythemes
MIT License
12 stars 9 forks source link

Added Dockerfile + puppeteer support #15

Closed parithon closed 3 years ago

parithon commented 3 years ago

Here it is, located in the backend\AzureContainer folder I include a Dockerfile that will build a docker image that supports starting the code-server and then running the action.js with nodejs and saving the screenshot to a folder named images. You can mount a local (or Azure blob storage) to this location to get the image outside of the container!

Oh, I also changed the WORKDIR to onlythemes so we aren't using the user profile root location.

Also.... I learned that we cannot override the ENTRYPOINT of the base image so instead, I replaced their entrypoint.sh with our own.

michaeljolley commented 3 years ago

@all-contributors please add @parithon for code, documentation and infrastructure

allcontributors[bot] commented 3 years ago

@MichaelJolley

I've put up a pull request to add @parithon! :tada: