Commit Graph
13 Commits
Author SHA1 Message Date
7677865466andGitHub 084e5a2aaf Update PDF dependency for web variant (#2739)
Adding PDF dependency by default for web variant as a search will result in an error without installing this. In case it is not installed it maigret web will return to the landing page and will present an error in the logs.
2026-06-04 23:50:02 +02:00
SoxojandGitHub a7bda700b4 Add Docker web image with multi-stage building (#2564) 2026-04-26 11:45:08 +02:00
SoxojandGitHub f26976f1dd Dockerfile fix (#2290) 2026-03-21 20:02:35 +01:00
SoxojandGitHub 48ca13dc4d Make web interface accessible for Docker deployment by default (#2189) 2025-08-31 16:14:42 +02:00
SoxojandGitHub f78c93eaca Added .readthedocs.yaml, fixed Pyinstaller and Docker workflows (#1874) 2024-11-23 19:11:25 +01:00
Peter Dave HelloandGitHub 0a628d2b8f Refactor Dockerfile with best practices (#691)
Multiple best practices applied as below:

- Replace deprecated `MAINTAINER` with `LABEL maintainer`
- Remove additional `apt clean` as it'll be done automatically
- Use `apt-get` instead of `apt` in script, apt does not have a stable
  CLI interface, and it's for end-user.
- Put `apt-get install` & apt lists clean up in the same command
- Use `--no-install-recommends` with `apt-get install` to avoid install
  additional packages
- Use `--no-cache-dir` with `pip install` to prevent temporary cache
- Use `COPY` instead of `ADD` for files and folders
- Use spaces instead of mixing spaces with tabs to indent

Size change by the refactor, almost 100MB saved:

```
REPOSITORY   TAG      IMAGE ID       CREATED         SIZE
maigret      after    9e70c65dde32   1 minutes ago   543MB
maigret      before   a683f2b71751   7 minutes ago   635MB
```
2022-10-04 13:46:01 +03:00
Soxoj dc8fdc25f5 Upgraded base docker image 2021-11-05 11:57:51 +03:00
Soxoj e8634c8c56 Dockerfile update 2021-06-13 01:50:36 +03:00
Vincent TjianattanandGitHub 39b713497d Fix scipy build dependencies
Fix scipy build dependencies by changing the image from python:3.7-alpine to python:3.7
2021-03-17 00:42:35 +07:00
Gianluca b7c02456e7 fix: docker build returns an error on the pillow compilation 2021-02-17 11:51:33 +01:00
Soxoj 7997ade3c5 Static links fixes, fixes for Pypi 2020-12-05 02:37:41 +03:00
Soxoj ea01a33bcd Dockerfile fixes 2020-12-05 00:48:24 +03:00
Soxoj ac0be37480 first commit 2020-01-08 09:51:07 +03:00