Update Dockerfile

This commit is contained in:
2024-02-21 15:02:55 +08:00
parent d07205065b
commit e1c2b849c1

View File

@@ -6,7 +6,8 @@ RUN chmod 755 /usr/local/bin/start-apache
RUN a2enmod rewrite RUN a2enmod rewrite
# Copy application source # Copy application source
COPY src /var/www/ RUN mkdir /var/www/public
COPY src /var/www/public
RUN chown -R www-data:www-data /var/www RUN chown -R www-data:www-data /var/www
CMD ["start-apache"] CMD ["start-apache"]