Skip to content

Commit 228f453

Browse files
committed
add node modules + change to entrypoint
1 parent 85244cd commit 228f453

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

browserbase/Dockerfile

+7-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ COPY --from=builder /app/index.d.ts /app/index.d.ts
3333
COPY --from=builder /app/config.d.ts /app/config.d.ts
3434
COPY --from=builder /app/package.json /app/package.json
3535
COPY --from=builder /app/package-lock.json /app/package-lock.json
36+
COPY --from=builder /app/node_modules /app/node_modules
3637

37-
# Command to run the application
38-
CMD [ "node", "cli.js" ]
38+
# Set environment variables (to be configured at runtime)
39+
ENV BROWSERBASE_API_KEY=<YOUR_BROWSERBASE_API_KEY>
40+
ENV BROWSERBASE_PROJECT_ID=<YOUR_BROWSERBASE_PROJECT_ID>
41+
42+
# Command to run the application with absolute path
43+
ENTRYPOINT [ "node", "/app/cli.js" ]

0 commit comments

Comments
 (0)