Commit e9309131 authored by Tobias Munk's avatar Tobias Munk

updated entrypoint

parent 488aa761
Pipeline #14279 passed with stages
in 1 minute and 32 seconds
......@@ -66,7 +66,10 @@ COPY image-files/ /
# Add GITHUB_API_TOKEN support for composer
ARG GITHUB_API_TOKEN
RUN echo "alias composer='composer.phar'" >> /root/.bashrc && \
chmod 700 /usr/local/bin/composer /usr/local/bin/docker-run.sh
chmod 700 \
/usr/local/bin/docker-entrypoint.sh \
/usr/local/bin/docker-run.sh \
/usr/local/bin/composer
# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- \
......@@ -99,5 +102,5 @@ RUN composer config --global --unset github-oauth.github.com
WORKDIR /app
# Startup script for FPM
ENTRYPOINT ["docker-entrypoint.sh"]
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD ["docker-run.sh"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment