You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker Error: Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
#117
Closed
dummydummydev opened this issue
Dec 19, 2023
· 4 comments
I created a app use shopify ruby template , I used the default Dockerfile give by ruby template
I created a build , but my app is not working
# Dockerfile
FROM ruby:3.1-alpine
ARG SHOPIFY_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxx
ENV SHOPIFY_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxx
RUN apk add libpq-dev
RUN apk update && apk add nodejs npm git build-base postgresql-client gcompat bash openssl-dev
WORKDIR /app
COPY web .
RUN cd frontend && npm install
RUN bundle install
RUN cd frontend && npm run build
RUN rake build:all
COPY entrypoint.sh /usr/bin/
RUN chmod +x /usr/bin/entrypoint.sh
ENTRYPOINT ["entrypoint.sh"]
CMD rails server -b 0.0.0.0
We are closing this issue because it has been inactive for a few months.
This probably means that it is not reproducible or it has been fixed in a newer version.
If it’s an enhancement and hasn’t been taken on since it was submitted, then it seems other issues have taken priority.
If you still encounter this issue with the latest version of this app template, please reopen using the issue template. You can also contribute directly by submitting a pull request.
Issue summary
I created a app use shopify ruby template , I used the default Dockerfile give by ruby template
I created a build , but my app is not working
These are my dockerfile and docker-compose.yml file
I am not able to see my UI although App is running in background
Expected behavior
I can see my UI and backend should work fine
Actual behavior
Unable to see UI
Steps to reproduce the problem
The text was updated successfully, but these errors were encountered: