Skip to content

Commit

Permalink
fix!: nginx test conf
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Aug 4, 2023
1 parent 46779c4 commit 0a832b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function createBuildContext(): Context
$context->add('/entrypoint.sh', $this->createEntrypoint());
$context->run('chmod +x /entrypoint.sh');
$context->add('/nginx.conf', $this->createNginxConfig());
$context->run("nginx -t -c /tmp/nginx.conf");
$context->run("nginx -t -c /nginx.conf");
$context->entrypoint(["/entrypoint.sh"]);
$context->command("EXPOSE 80");
$context->copyFromLayer('/www/assets', "0", "/build/assets");
Expand Down

0 comments on commit 0a832b4

Please sign in to comment.