Git Product home page Git Product logo

Comments (6)

 avatar commented on July 16, 2024 1

Here's a recent example of adding Docker to a Webpack boilerplate from @eyedol, in case it proves useful: netlify-templates/victor-hugo#25. The team at Netlify opted against adding Docker but I strongly encourage it.

Here are some other Docker resources I'm able to speak about if they help in any way:

One other angle to investigate which could lead to some very innovative uses of Docker would be to check out how it's being used with Caddy.

I'm probably preaching to the choir here, but it's worth mentioning Docker fixes the ”works on my machine” issue and helps close the gap between environments when creating Twelve-Factor apps.

from react-pwa.

tirthbodawala avatar tirthbodawala commented on July 16, 2024 1

@dav-is and @jhabdas we are almoat there, it was Diwali vacation in India, which ended today, thus can focus on docker now. I think, it shouldn’t take more than 2 days to complete it. i.e. by tomorrow..

from react-pwa.

dav-is avatar dav-is commented on July 16, 2024

Where are we stuck on docker implementation? It should be relatively simple.

from react-pwa.

tirthbodawala avatar tirthbodawala commented on July 16, 2024

One can now easily manage docker-build with this enhancement given Docker is properly configured and the terminal that is running the nodejs has access to docker command.

Steps to works with docker

yarn docker:dev:image
Will create a development image named "react-pwa" which will be used during application development and running.
If anything new is added to package.json yarn docker:dev:image must be rebuild to get the latest nodejs packages

yarn docker:dev:start will start the application in docker mode.
yarn docker:prod:build will start the build the application for production
yarn docker:prod:image will create a docker image that can be deployed easily to any docker-hub and can create production containers
yarn docker:prod:start will start the application in production mode, its necessary to create docker:prod:image prior to docker:prod:start

from react-pwa.

 avatar commented on July 16, 2024

nice cli! hope you had a great Diwali!!!

from react-pwa.

tirthbodawala avatar tirthbodawala commented on July 16, 2024

Thanks @jhabdas Yaah, it was great. I got to code a lot along with spending time with family and having beer at night, most heavenly experience :)

from react-pwa.

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.