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

fix: extract zip file

parent 49a522f4
Branches
Tags
No related merge requests found
......@@ -11,8 +11,18 @@ ARG TOKEN_PORTAL_VERSION
ARG DEBIAN_FRONTEND=noninteractive
ADD https://github.com/rciam/simple-oidc-client-php/releases/download/v${TOKEN_PORTAL_VERSION}/simple-oidc-client-php-v${TOKEN_PORTAL_VERSION}.zip /var/www/html/
COPY config.php /var/www/html/
EXPOSE 9000
WORKDIR /var/www/html
RUN apt update -y && \
apt install -y --no-install-recommends unzip && \
unzip '*.zip' && \
rm *.zip && \
apt-get remove -y unzip && \
apt-get autoremove && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
mv simple-oidc-client-php/* . && \
rm -rf simple-oidc-client-php
EXPOSE 9000
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment