-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
97ff72b
commit 05fc7ee
Showing
17 changed files
with
125,850 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,7 @@ LABEL imeja.image.authors="[email protected]" \ | |
RUN a2enmod rewrite; \ | ||
a2enmod headers; \ | ||
a2enmod ssl | ||
|
||
# Install some extra stuff | ||
|
||
RUN set -ex; \ | ||
apt-get update; \ | ||
apt-get install -y \ | ||
|
@@ -24,12 +23,15 @@ RUN set -ex; \ | |
git \ | ||
nodejs \ | ||
default-mysql-client \ | ||
vim; \ | ||
vim \ | ||
libfreetype6-dev \ | ||
libjpeg62-turbo-dev \ | ||
libpng-dev; \ | ||
apt-get clean | ||
|
||
|
||
# Install some php extensions from the docker built source. | ||
RUN docker-php-ext-install gettext mysqli pdo_mysql zip | ||
RUN docker-php-ext-configure gd --with-freetype --with-jpeg; \ | ||
docker-php-ext-install gettext mysqli pdo_mysql zip gd | ||
|
||
|
||
# Install the intl extension | ||
|
@@ -61,16 +63,18 @@ RUN mkdir -p /var/log/supervisor | |
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf | ||
|
||
# Install wkhtmltopdf | ||
RUN apt-get install -y \ | ||
wkhtmltopdf | ||
# Copy the migration script | ||
# RUN apt-get install -y \ | ||
# wkhtmltopdf | ||
# # Copy the migration script | ||
COPY run_migrations.sh /usr/local/bin/run_migrations.sh | ||
|
||
# Ensure the script is executable | ||
RUN chmod +x /usr/local/bin/run_migrations.sh | ||
RUN chmod +x . | ||
# Start Supervisor and Apache | ||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] | ||
|
||
|
||
# Run the script after the container starts | ||
# CMD ["/bin/bash", "/usr/local/bin/init_db.sh"] | ||
# Run the migration script as the container's entrypoint | ||
# ENTRYPOINT ["/usr/local/bin/run_migrations.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Binary file added
BIN
+20.1 KB
webroot/files/Attachments/file/screenshot from 2024-08-20 08-57-00.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.9 KB
webroot/files/Attachments/file/screenshot from 2024-08-20 09-53-15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.