Flask server using docker-compose remote interpreter
Hello,
My Flask server's Dockerfile has flask as an entrypoint:
ENTRYPOINT ["flask"]
CMD ["run", "--with-threads", "--host=0.0.0.0", "--port=5000"]
However, it seems as if PyCharm assumes the CMD to be python:
app_1 | Try 'flask --help' for help.
app_1 |
app_1 | Error: No such command 'python'.
Is there any other config I can try?
Please sign in to leave a comment.