System Information
- Strapi Version: 4.0.5
- Operating System: Linux
- Database: mySQL (RDS)
- Node Version: 14
- NPM Version:
- Yarn Version:
Hello all,
This is my first post. I am trying to run Strapi inside of ECS Fargate.
The problem appear when i try to reach domain/admin i got this error:
Warning: An error occurred while requesting the API
This is my Dockerfile:
FROM strapi/base:14
ARG STRAPI_VERSION
RUN yarn global add @strapi/strapi@4.0.5
RUN mkdir /srv/app && chown 1000:1000 -R /srv/app
WORKDIR /srv/app
VOLUME /srv/app
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["strapi", "develop"]
Inspect element show this:
I am not sure why it’s trying to load project-type from localhost. All other files have correct URL.
Any idea here?
Just to mention, i have define all ENV variables inlucind NODE_ENV.
Thanks a lot.