Giter Site home page Giter Site logo

Use this dockerfile about verdaccio HOT 9 CLOSED

verdaccio avatar verdaccio commented on May 5, 2024
Use this dockerfile

from verdaccio.

Comments (9)

andrewjensen avatar andrewjensen commented on May 5, 2024

I can try this out and submit a PR.

@RnbWd: Does this mean #21 can be closed?

from verdaccio.

RnbWd avatar RnbWd commented on May 5, 2024

yeah this Dockerfile should work, the current one wasn't building for me, and this worked. I'm not actively using it at the moment so it'd be nice to get more feedback, but if the current one is broken (and not just a fluke in my dev env) then I'd replace it with this. If I start using it again (sinopia no longer works for me so I'll probably start here if I get back into using it again)

from verdaccio.

nwhite89 avatar nwhite89 commented on May 5, 2024

How do you feel about using Alpine Node instead the images are extremely small

from verdaccio.

YouriT avatar YouriT commented on May 5, 2024

RUN npm install should be run within /verdaccio/ therefore WORKDIR /verdaccio should come before npm install no?

from verdaccio.

RnbWd avatar RnbWd commented on May 5, 2024

@nwhite89 after reading this tweet - https://twitter.com/rvagg/status/742949140641009666 - I think it's time to start building with alpine 🤘

@YouriT I haven't ran this build since first posting the issue, but it looks like I'm copying the package.json first - so npm install works... then I copy everything back into verdacio a second time.... Don't know why I wrote it like that 😕

from verdaccio.

YouriT avatar YouriT commented on May 5, 2024

@RnbWd so you agree it should be the other way around right? I changed it in mine and it works fine like I suggested at least :p

from verdaccio.

RnbWd avatar RnbWd commented on May 5, 2024

@YouriT yes - both should work but it should be the other way around like you mentioned

from verdaccio.

juanpicado avatar juanpicado commented on May 5, 2024

Since there is a PR #110 already pretty close to the suggestions in this thread and the suggestion of @RnbWd is a mix that currently committed and the previous PR, I'll close this one.

from verdaccio.

lock avatar lock commented on May 5, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from verdaccio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.