Skip to content
Snippets Groups Projects
Commit ea862cc3 authored by Mgr. Pavel Břoušek's avatar Mgr. Pavel Břoušek
Browse files

fix: use root folder /app/token/

parent f8b3cf12
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,6 @@ RUN apt update -y && \ ...@@ -21,7 +21,6 @@ RUN apt update -y && \
apt-get autoremove && \ apt-get autoremove && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
mv simple-oidc-client-php/* . && \ mv simple-oidc-client-php token
rm -rf simple-oidc-client-php
EXPOSE 9000 EXPOSE 9000
...@@ -4,4 +4,8 @@ A docker image with https://github.com/rciam/simple-oidc-client-php ...@@ -4,4 +4,8 @@ A docker image with https://github.com/rciam/simple-oidc-client-php
## Volumes ## Volumes
You need to mount `config.php` into `/app/` inside the container. See [documentation](https://github.com/rciam/simple-oidc-client-php#simple-oidc-client---authentication) or [example config](https://github.com/rciam/simple-oidc-client-php/blob/master/example-config.php) for inspiration. You need to mount `config.php` into `/app/token/` inside the container. See [documentation](https://github.com/rciam/simple-oidc-client-php#simple-oidc-client---authentication) or [example config](https://github.com/rciam/simple-oidc-client-php/blob/master/example-config.php) for inspiration.
## Usage
You can use nginx with fastcgi_pass (port 9000). The root folder is `/app/token/`.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment