Skip to content

Commit

Permalink
Use from container when running Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
expelledboy committed Feb 27, 2020
1 parent e11179d commit 87af625
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ app.get("*", (req, res) => {
return acc;
}, {});

// Use the path spec defined in the running container.
ENV.PATH = process.env.PATH;

// Marshal command results into json
const handleExec = (error, stdout, stderr) => {
if (error) {
Expand Down

0 comments on commit 87af625

Please sign in to comment.