Code Monkey home page Code Monkey logo

Comments (6)

rednafi avatar rednafi commented on June 21, 2024 1

I think you've convinced me. So, what I'll do is to push the container to GitHub registry and then see if anyone finds that useful. Thank you.

from fastapi-nano.

rednafi avatar rednafi commented on June 21, 2024 1

After battling with the CI, this is now ready. Checkout the release for details. Thank you.

from fastapi-nano.

rednafi avatar rednafi commented on June 21, 2024

This is a great idea but I'm not sure how it'd be helpful when you'll need access to the code.

from fastapi-nano.

ayr-ton avatar ayr-ton commented on June 21, 2024

@rednafi Access to the code how? Could you elaborate?

from fastapi-nano.

rednafi avatar rednafi commented on June 21, 2024

@ayr-ton This application is pretty basic at what it does. However, it's extensible. So, if I push this as a container, what purpose that'd serve? I mean in the end, you'll need access to the code in the container and if you docker-pull the container, you won't have access to the source code.

I mean, it's easy enough to push the container but I was wondering what purpose that'd serve.

from fastapi-nano.

ayr-ton avatar ayr-ton commented on June 21, 2024

@rednafi Got it!
I think in 2 advantages:

  • Testing the container build itself (we could actually test it with testinfra for validating aspects of the container creation)
  • Have a reference pipeline on how to push the container to a registry (either GitHub or https://ttl.sh/)

Also, we could publish it to dockerhub if we want so anyone could pull the image for validating the working architecture.

If someone chooses to use some container scheduler in the future, this someone would just need to track the container registry for having updates (Ex.: ArgoCD).

from fastapi-nano.

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.