JuliaGlocka / api-eventlogger

A microservice for logging event of other microservices
GNU General Public License v3.0
0 stars 0 forks source link

create Dockerfile #3

Closed holms closed 2 months ago

holms commented 3 months ago
JuliaGlocka commented 3 months ago

@holms I have edited the Dockerfile in the api-eventlogger repository. Pls check

holms commented 3 months ago

Cherrypy will be used in api-fbanalyze project. API-eventlogger will be using flask framework.

Also probably makes sense to do hello world tasks first because Dockerfile will fail to build docker image.

holms commented 3 months ago

Also avoid using dashes in file names, underscore is more conventional symbol for splitting words. Instead of ./back-end I recommend /app or /src or /www

Check the default port of flask, so you'd know which port to expose.

Make sure that docker is building docker image successfully with this Dockerfile before committing it to the repo

Remove compose.yaml from this repo, it belongs in sdk-fbanalyze. Or just move it there for now.

holms commented 2 months ago

Also I'd move Dockerfile to a branch feat/3/dockerfile for now, as we need to fix many stuff currently, let's not trash the main branch with unnecessary stuff.

In the future such plan of works should be done by yourself, but for now I'll guide you step-by-step so you' get familiar with a workflow.