Skip to content

Commit

Permalink
Merge pull request #93 from kangketikonlen/stable
Browse files Browse the repository at this point in the history
[23-11-2023 21:59] stable - Request merge stable to main branch
  • Loading branch information
kangketikonlen authored Nov 23, 2023
2 parents 6aad4bb + 7d4b54f commit aabd963
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ COPY .docker/conf/default.conf /etc/nginx/http.d/default.conf
RUN composer install --no-dev --no-scripts --no-autoloader --ansi --no-interaction \
&& composer dump-autoload -o

# install nodejs dependencies
RUN npm install --silent --no-optional \
&& npm run production

# Create laravel log file.
RUN touch /var/www/app/storage/logs/laravel.log
RUN chmod -R 0777 /var/www/app/storage/logs
Expand Down Expand Up @@ -77,6 +81,7 @@ RUN rm -rf resources/css \
&& rm -rf resources/json \
&& rm -rf resources/lang \
&& rm -rf resources/sass \
&& rm -rf resources/plugin \
&& rm -rf resources/favicon.ico

RUN rm -rf .git \
Expand All @@ -94,7 +99,8 @@ RUN rm -rf .git \
&& rm -rf webpack.mix.js \
&& rm -rf api \
&& rm -rf *.md \
&& rm -rf phpstan.neon
&& rm -rf phpstan.neon \
&& rm -rf node_modules

EXPOSE 80

Expand Down

0 comments on commit aabd963

Please sign in to comment.