Skip to content

Commit 29405e1

Browse files
authored
Merge pull request #207 from aroskanalen/feature/1456_os2diplay_image_fix
1456: Fixed "parameter not set" in api image
2 parents a4bec38 + 0d8f1b9 commit 29405e1

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
- [#207](https://github.com/os2display/display-api-service/pull/207)
8+
- Fixed parameter not set error in (os2display) api container.
9+
710
## [2.0.5] - 2024-05-21
811

912
- [#206](https://github.com/os2display/display-api-service/pull/206)

infrastructure/os2display/display-api-service/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,5 @@ RUN chmod +x /usr/local/bin/docker-entrypoint.sh
151151

152152
WORKDIR ${APP_PATH}
153153

154-
CMD [ "docker-entrypoint.sh" ]
154+
CMD ["php-fpm"]
155+
ENTRYPOINT [ "docker-entrypoint.sh" ]

infrastructure/os2display/display-api-service/docker-entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ if [ "${1#-}" != "$1" ]; then
1717
fi
1818

1919
## Start the PHP FPM process.
20-
echo "Starting PHP 8.2 FPM"
20+
echo "Starting PHP 8.3 FPM"
2121

22-
exec php-fpm "$@"
22+
exec "$@"

0 commit comments

Comments
 (0)