Update Dockerfile
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
parent
7bc4210215
commit
bb33ec987c
14
Dockerfile
14
Dockerfile
@ -48,19 +48,21 @@ FROM php-base AS php
|
||||
USER www-data
|
||||
WORKDIR /app
|
||||
|
||||
RUN echo d
|
||||
|
||||
# Install freescout
|
||||
ENV FREESCOUT_COMMIT=dd2e262c511b4f80fb92b40bae30c168d55f24fb
|
||||
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
|
||||
COPY modules/OAuth /app/Modules/OAuth
|
||||
|
||||
# Install Composer dependencies
|
||||
RUN cd /app && composer install --no-dev && composer clear-cache
|
||||
|
||||
# Create necessary symlink
|
||||
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
|
||||
|
2
entrypoint.sh
Executable file
2
entrypoint.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
apache2-foreground & tail -f /app/storage/logs/laravel.log
|
Loading…
Reference in New Issue
Block a user