docker compose up of Oak server throws: SyntaxError: Duplicate export of 'type'
I am just learning how to use Docker, and am trying to put up a container of an Oak server.
When running
docker compose up
, it throws the error mentioned above.
This doesn't happen locally, or on Deno Deploy. I'm not really sure where to start?
Can I somehow ignore this error, or is it actually a problem?
My docker-compose.yml
is:
And Dockerfile
:
The full error is:
Any help would be greatly appreciated, thank you1 Reply
Seems to be resolved by using:
instead