diff --git a/captain-definition b/captain-definition new file mode 100644 index 0000000..93da897 --- /dev/null +++ b/captain-definition @@ -0,0 +1,13 @@ +{ + "schemaVersion": 2, + "dockerfileLines": [ + "FROM mcr.microsoft.com/playwright:v1.40.0-focal", + "WORKDIR /usr/src/app", + "COPY package*.json ./", + "ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1", + "RUN npm install", + "COPY . .", + "EXPOSE 3000", + "CMD [ \"node\", \"robot_cobros.js\" ]" + ] +} \ No newline at end of file