Hey, I need some help!! - I am using `import * a...
# general
h
Hey, I need some help!! • I am using
import * as awsx from "@pulumi/awsx";
• I am trying to build and push a dockerimage to ecr.
Pulumi code
Copy code
const image = new awsx.ecr.Image("image", {
  repositoryUrl: repository.url,
  path: "./nodeapp/",
});
• The
./nodeapp
is in same root directory, and the dockerfile looks likes this:
Copy code
FROM node:16
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD [ "node", "index.js" ]
Error: Unhandled exception: Error: failed to register new resource image [awsxecrImage]: 2 UNKNOWN: No 'docker' command available on PATH: Please install to use container 'build' mode.
s
Do you have docker CLI installed locally?