dosubot[bot] commented on issue #32874:
URL: https://github.com/apache/superset/issues/32874#issuecomment-2756864894
<!-- Answer -->
To modify the Superset image for installing the `pymssql` module, you should
create or modify the Dockerfile in the same directory where the existing
Dockerfile is located. Typically, this is the root directory of the Superset
project or wherever the Dockerfile is currently placed. However, for local
development, you can also add the `pymssql` module to a local requirements
file. Here's how:
1. Create a file named `requirements-local.txt` in the `./docker` directory.
2. Add `pymssql` to this file.
3. Rebuild your Docker stack by running:
```bash
docker compose down -v
docker compose up
```
This approach allows you to manage additional Python packages for local
testing and development without modifying the main Dockerfile
<sup>[[1]](https://github.com/apache/superset/blob/master/Dockerfile)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/docker/README.md)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
---
<sup>Help Dosu learn! Give it feedback: [Great
Response](https://app.dosu.dev/response-feedback/7a0f7659-08c6-47da-abc8-9775563d62d4?feedback_type=great_response)
| [Irrelevant
Answer](https://app.dosu.dev/response-feedback/7a0f7659-08c6-47da-abc8-9775563d62d4?feedback_type=irrelevant_answer)
| [Incorrect
Sources](https://app.dosu.dev/response-feedback/7a0f7659-08c6-47da-abc8-9775563d62d4?feedback_type=incorrect_sources)
| [Too
Verbose](https://app.dosu.dev/response-feedback/7a0f7659-08c6-47da-abc8-9775563d62d4?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/7a0f7659-08c6-47da-abc8-9775563d62d4?feedback_type=hallucination)
| [Bug
Report](https://app.dosu.dev/response-feedback/7a0f7659-08c6-47da-abc8-9775563d62d4?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/7a0f7659-08c6-47da-abc8-9775563d62d4?feedback_type=other)</sup>
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]