You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by "overdev-l (via GitHub)" <gi...@apache.org> on 2024/09/03 10:59:52 UTC

Re: [I] After successfully installing Answer, enter the 50x page [incubator-answer]

overdev-l commented on issue #997:
URL: https://github.com/apache/incubator-answer/issues/997#issuecomment-2326232758

   > Use the `./answer init -C ./data/ && ./answer run -C ./data/` command can avoid this issue.
   
   `RUN echo '#!/bin/bash' > /entrypoint.sh && \
       echo '/usr/bin/answer init -C ./data/ && /usr/bin/answer run -C ./data/ &' >> /entrypoint.sh && \
       echo 'tail -f /dev/null' >> /entrypoint.sh && \
       chmod +x /entrypoint.sh
   
   
   VOLUME /data
   EXPOSE 80
   ENTRYPOINT ["/entrypoint.sh"]`
   I tried this command still exists the same as 50x, I found that this problem occurs when using mysql, sqlite3 doesn't


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org