forked from icd/rentgen
Compare commits
No commits in common. "165df535daca35bffc58655c130e4e01aa7e57c9" and "d7dc55e94e4db3ba434910ca86bdc768e4c484ed" have entirely different histories.
165df535da
...
d7dc55e94e
4
.gitignore
vendored
4
.gitignore
vendored
@ -11,6 +11,4 @@ lib/*
|
||||
/assets/icon-addon-*.png
|
||||
|
||||
# Exception: do not ignore the `browser-api` directory inside `lib`
|
||||
!/lib/browser-api/
|
||||
|
||||
.claude
|
||||
!/lib/browser-api/
|
||||
23
Dockerfile
23
Dockerfile
@ -14,14 +14,6 @@
|
||||
# Run commands in the container:
|
||||
# docker run --rm rentgen npm run build:chrome
|
||||
# docker run --rm rentgen npm run typecheck
|
||||
#
|
||||
# Run extension in Firefox (headless):
|
||||
# docker build --target runtime -t rentgen-run .
|
||||
# docker run --rm -it rentgen-run
|
||||
#
|
||||
# Using docker-compose:
|
||||
# docker-compose up rentgen_check # Build only
|
||||
# docker-compose up rentgen_run # Run in Firefox
|
||||
|
||||
# Build stage
|
||||
FROM node:lts AS builder
|
||||
@ -65,18 +57,3 @@ FROM builder
|
||||
|
||||
# Default command shows the built artifact
|
||||
CMD ["ls", "-lh", "/app/web-ext-artifacts/"]
|
||||
|
||||
# Runtime stage - for running extension in Firefox
|
||||
FROM builder AS runtime
|
||||
|
||||
# Install Firefox and Xvfb for headless execution
|
||||
RUN apt-get update && apt-get install -y \
|
||||
firefox-esr \
|
||||
xvfb \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Set display for Xvfb
|
||||
ENV DISPLAY=:99
|
||||
|
||||
# Start Xvfb and run extension in Firefox
|
||||
CMD Xvfb :99 -screen 0 1024x768x24 & npm run ext-test
|
||||
|
||||
10
compose.yml
10
compose.yml
@ -1,10 +0,0 @@
|
||||
services:
|
||||
rentgen_check:
|
||||
build: .
|
||||
|
||||
rentgen_run:
|
||||
build:
|
||||
context: .
|
||||
target: runtime
|
||||
stdin_open: true
|
||||
tty: true
|
||||
440
package-lock.json
generated
440
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user