diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-22 13:15:14 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-22 13:15:14 +0300 |
| commit | 74f1c04022328280b996dde0b7089e13d96acf70 (patch) | |
| tree | 5488a13587f6a86aa631ecbbb370efb143a9610f /Dockerfile | |
| parent | a647a6180e6f2b0a3c3aaddc40bc2dcf5f396429 (diff) | |
| download | classroom-74f1c04022328280b996dde0b7089e13d96acf70.tar.gz classroom-74f1c04022328280b996dde0b7089e13d96acf70.tar.bz2 classroom-74f1c04022328280b996dde0b7089e13d96acf70.zip | |
edit lesson: media handling
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -75,12 +75,13 @@ RUN sed -i 's/^# *\(el_GR\)/\1/' /etc/locale.gen RUN locale-gen -# Manage permitions in specific directories +# Manage permitions in specific (writable) directories # ------------------------------------------------------------------------------ # (make local storage directories writable) RUN chown -R www-data:www-data /var/www RUN chmod -R 757 /var/www/storage - +RUN chown -R www-data:www-data /var/www/public/files +RUN chmod -R 757 /var/www/public/files # change apache's default-root to /var/www/public RUN sed -ri -e 's!/var/www/html!/var/www/public!g' /etc/apache2/sites-available/*.conf |
