Closed holms closed 2 months ago
@holms I have edited the Dockerfile in the api-eventlogger repository. Pls check
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.
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.
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.
git rm -f Dockerfile
, commit it with message "remove Dockerfile". If you want to commits to be visible in this ticket do two message "git commit -m "remove Dockerfile" -m "affects #feat/3/dockerfile
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.