mirror of
https://github.com/fleetbase/fleetbase.git
synced 2025-12-19 22:27:22 +00:00
patched Dockerfile, console updated to v0.0.4 with all latest dependencies
This commit is contained in:
2
console
2
console
Submodule console updated: 75b37dcf62...e42893e2dd
@@ -32,26 +32,15 @@ RUN curl -L https://github.com/springload/ssm-parent/releases/download/v1.4.3/ss
|
||||
# Install Composer
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
||||
# Copy packages
|
||||
COPY packages /var/www/html/packages
|
||||
# Setup application
|
||||
WORKDIR /var/www/html/api
|
||||
|
||||
# Set ownership and permissions
|
||||
RUN chown www-data:www-data /var/www/html \
|
||||
&& chown www-data:www-data /var/www/html/api \
|
||||
&& chown -R www-data:www-data /var/www/html/api/storage \
|
||||
&& chown -R www-data:www-data /var/www/html/api/bootstrap
|
||||
|
||||
USER www-data
|
||||
RUN mkdir -p ./storage/logs/ \
|
||||
&& ln -sf /dev/stdout ./storage/logs/laravel.log
|
||||
|
||||
# Install Composer dependencies
|
||||
COPY api/composer.json api/composer.lock ./
|
||||
RUN composer install
|
||||
|
||||
# Copy application files
|
||||
COPY --chown=www-data:nogroup . ./
|
||||
COPY --chown=www-data:www-data api ./
|
||||
|
||||
# Install Composer dependencies
|
||||
RUN composer install --no-dev --no-scripts --no-autoloader
|
||||
|
||||
USER root
|
||||
|
||||
|
||||
Submodule packages/dev-engine updated: 60f2f112be...1ca718ff46
Submodule packages/ember-core updated: 7415301d46...fbb68f01d4
Submodule packages/fleetops-engine updated: d9d2cd13f4...a0c3190fad
Submodule packages/storefront-engine updated: 8f4f487827...ecb70261e8
Reference in New Issue
Block a user