fix(core): Clean up unnecessary files during application image build
This commit is contained in:
parent
2f826c56e8
commit
fb3f5e0a3e
1 changed files with 2 additions and 0 deletions
|
|
@ -2021,6 +2021,8 @@ private function build_image()
|
|||
COPY . .
|
||||
RUN rm -f /usr/share/nginx/html/nginx.conf
|
||||
RUN rm -f /usr/share/nginx/html/Dockerfile
|
||||
RUN rm -f /usr/share/nginx/html/docker-compose.yaml
|
||||
RUN rm -f /usr/share/nginx/html/.env
|
||||
COPY ./nginx.conf /etc/nginx/conf.d/default.conf");
|
||||
if (str($this->application->custom_nginx_configuration)->isNotEmpty()) {
|
||||
$nginx_config = base64_encode($this->application->custom_nginx_configuration);
|
||||
|
|
|
|||
Loading…
Reference in a new issue