Skip to content

Updated C2D script#1

Open
nklomp wants to merge 5 commits into
simontindemans:mainfrom
nklomp:fixes/c2d
Open

Updated C2D script#1
nklomp wants to merge 5 commits into
simontindemans:mainfrom
nklomp:fixes/c2d

Conversation

@nklomp

@nklomp nklomp commented Sep 22, 2023

Copy link
Copy Markdown

Hi Simon,

These are updates to the Docker image and script to get everything working. It has been a bit of a struggle. It turned out to be some resource constraints on the C2D environment which caused issues. These have been addresses yesterday by our partner Delta Dao

I updated the Marketplace with the latest version and you can run and see (previous) outputs at https://www.energyshr.nl/asset/did:op:51e21e623bdca2bf72bf7b47e1b9681d5a622ace03ac0f352213eb3540a44950.

Main changes:

  • Use mimetype detection because the dataset filename will be 0 in the C2D environment, so you cannot rely on file extensions
  • Removed the RUN entry from the Dockerfile and adjusted the local run script to behave in the same way as the C2D environment (so it provides the entrypoint)
  • Removed some nice things you did in the Dockerfile, because at this moment the C2D environment wasn't working with these. I for sure will get in contact with Delta Dao about these

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant