No application file problem Docker

Hello, I am building a space with Duckling to pair it with a Rasa bot(this works).
But for some reason, I can’t make it run because Hugging face tells me an application file lacks, while I already have a dockerfile, readme and a gitatributes(I tried adding a main.py, app.py, requirements.txt, runtime.txt), but it just doesnt work. These are some of the dockerfiles I’ve tried:

Blockquote
FROM rasa/duckling:latest
EXPOSE 8000
CMD [“duckling”]

Blockquote
FROM rasa/duckling:latest
EXPOSE 8000
CMD [“duckling”, “–port”, “8000”]

Blockquote
FROM haskell:8
RUN apt-get update && apt-get install -y libpcre3 libpcre3-dev curl &&
apt-get clean && rm -rf /var/lib/apt/lists/*
RUN git clone GitHub - facebook/duckling: Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings. /duckling
WORKDIR /duckling
RUN stack build
EXPOSE 8000
CMD stack exec duckling-example-exe

Yeah Ai might be involved here, but Idk why it doesnt work, I have already run this locally and works :sob::sob:
any help is appreciated, thx

1 Like

Solved, the problem was that my dockerfile was “DockerFile”. Watch out folks :sob::sob::sob::sob:
Loved struggling for a day

1 Like

I think Dockerfile is mostly correct. In the case of Docker Space, I think the only things required in the repository are README.md and Dockerfile. So there may be an error in the README.md settings. Your space, which has the correct settings, is currently working.

Maybe like this:

---
sdk: docker
app_port: 8000
---
FROM rasa/duckling:latest
EXPOSE 8000
CMD ["duckling", "--port", "8000"]

dockerfile was “DockerFile”.

LoL😆