Update Dockerfile
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Erki Aas 2024-07-26 17:24:33 +03:00
parent 7bc4210215
commit bb33ec987c
2 changed files with 10 additions and 6 deletions

View File

@ -48,19 +48,21 @@ FROM php-base AS php
USER www-data USER www-data
WORKDIR /app WORKDIR /app
RUN echo d
# Install freescout # Install freescout
ENV FREESCOUT_COMMIT=dd2e262c511b4f80fb92b40bae30c168d55f24fb
RUN git clone -b add-s3-support https://github.com/veebkolm/freescout.git /app RUN git clone -b add-s3-support https://github.com/veebkolm/freescout.git /app
RUN git checkout 41e2e5d3bc3b408d002b99aef449b33bbea22b80 RUN git checkout $FREESCOUT_COMMIT
# Install oauth plugin # Install oauth plugin
COPY modules/OAuth /app/Modules/OAuth COPY modules/OAuth /app/Modules/OAuth
# Install Composer dependencies
RUN cd /app && composer install --no-dev && composer clear-cache
# Create necessary symlink # Create necessary symlink
RUN php artisan storage:link RUN php artisan storage:link
RUN touch /app/storage/logs/laravel.log
COPY entrypoint.sh /entrypoint.sh
CMD ["/bin/bash"]
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 8080 EXPOSE 8080

2
entrypoint.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
apache2-foreground & tail -f /app/storage/logs/laravel.log