-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Public docker image #151
Comments
Thanks for the idea, and you're reading my mind. I do have a |
@shurick81 - here's the FROM node:14 AS BUILD_IMAGE
RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin
WORKDIR /app
COPY . /app/
# install
RUN npm install
# build
RUN npm run build
# remove development dependencies
RUN npm prune --production
# run node prune
RUN /usr/local/bin/node-prune
FROM node:14-alpine
WORKDIR /app
# copy from build image
COPY --from=BUILD_IMAGE /app/dist ./dist
COPY --from=BUILD_IMAGE /app/node_modules ./node_modules
ENV DEBUG msteams
EXPOSE 3007
CMD [ "node", "dist/server.js" ] |
@wictorwilen is that an image that one can use for scaffolding new Teams solutions or for building those? Sorry I'm having a hard time figuring this out. That is more or less Dockerfile that I was thinking of when it comes to scaffolding:
And then the usage of the image:
|
Gotcha! This was more meant for publishing the application. |
@shurick81 - what if you helped with testing this, and then we could automate this through Github actions and automatically publish a new version every time there's a new release? |
Sure, I'm in. I will test the one that you shared for the publishing the application and I will get back to you. |
I have looked at the image you provided, it looks good for testing and hosting purposes. For example, a way to run it will be using some commandline like How about taking a step back and trying to figure out all the possible use cases and then we see how we can facilitate these use cases via publishing some reusable snippets and images. Here's my ideas for use cases:
So let's check if I got it incorrectly and then we can discuss what exactly we should help developers with? |
Is your feature request related to a problem? Please describe.
The problem is that in order to try this generator, I need to install the generator and dependencies.
Describe the solution you'd like
If there was a public image in Docker Hub, I could just run one command to generate the solution on any machine with docker installed.
Describe alternatives you've considered
What we might start with is providing the Dockerfile that other people can use for building an image locally.
The text was updated successfully, but these errors were encountered: