Code Monkey home page Code Monkey logo

Comments (2)

robinwhittleton avatar robinwhittleton commented on June 29, 2024

This is where my lack of Docker knowledge shows: it’s not a technology I use particularly beyond starting a container sometimes, and this was my first attempt to actually write a Dockerfile myself.

Either way, I spun up your latest changes and am getting 500 errors. Not sure if it’s a config problem at my end or not, will spend a little time debugging.

from web.

acabal avatar acabal commented on June 29, 2024

OK. The sticking point in that PR was that the person wanted to add guards to start-server.sh to not initialize the container if it was already initialized; but in my thinking, there must be a place where we can put initialization code so that it initializes the container exactly once, so adding guards is not the right solution.

For example if we have a container with a database, when we create the image we want to pre-populate the database with data for initial configuration. There must be a way to do that exactly once - otherwise every time the container starts the database would get overwritten with pre-populated data!

I don't know where that place is, so we have to figure this out. Or maybe the person in the PR was also wrong?

from web.

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.