Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
3919d4d
Wire initial typescript (#338)
irdkwmnsb Sep 10, 2025
0fa7a73
hotfix (#361)
e-khalilov Sep 12, 2025
af9350e
Remove all DB connections from device side (#368)
e-khalilov Sep 23, 2025
491653d
Merge remote-tracking branch 'github/master' into develop
irdkwmnsb Sep 23, 2025
6178fbf
fix device type & types (#374)
e-khalilov Sep 29, 2025
7cc21d6
reconnect in ADBObserver (#376)
e-khalilov Oct 1, 2025
edd413f
QA-10057 Remove users watcher groups-engine (#369)
Alk2017 Oct 1, 2025
c94a619
fix heartbeat (#377)
e-khalilov Oct 2, 2025
649b907
overrides dependencies (#378)
e-khalilov Oct 3, 2025
920ee10
Automatic removal of disabled devices (#379)
e-khalilov Oct 6, 2025
91c8a0b
fix linkifyjs issue (#380)
e-khalilov Oct 13, 2025
fea328e
Resolve conflicts (#381)
e-khalilov Oct 13, 2025
3093725
Merge branch 'master' into develop
irdkwmnsb Oct 14, 2025
2f10409
Fixed transactions & minor optimizations (#382)
e-khalilov Oct 14, 2025
34ccd1d
Fix lint issues
irdkwmnsb Oct 14, 2025
596d17d
Minitouch refactoring (#388)
e-khalilov Nov 17, 2025
0805b9b
Sleep / wake keyevents (#390)
e-khalilov Nov 18, 2025
5619538
Health checking of devices in provider (#391)
e-khalilov Nov 27, 2025
74bb4e5
General Process Manager & iOS Refactoring (#394)
e-khalilov Dec 15, 2025
014ae2d
Fix apk install (#397)
e-khalilov Jan 21, 2026
0b7eaaa
Merge branch 'master' into develop
Jan 21, 2026
b9696a6
Stable Apple device behavior (#400)
e-khalilov Feb 27, 2026
d10c1fe
fix error message and button on auth-ldap-page (#393)
koctuk999 Feb 27, 2026
c066e22
Merge branch 'master' into develop
Feb 27, 2026
0c26775
fix merge fail
Feb 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ WebDriverAgent/
.eslintcache
scripts/
.mypy_cache
.build
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ node_modules/
/playwright-report/
/blob-report/
/playwright/.cache/

.build
patches
25 changes: 8 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -------- BUILDER --------
FROM node:20.18.0-bullseye-slim AS builder
FROM --platform=linux/amd64 node:20.19.0-bullseye-slim AS builder

WORKDIR /app

Expand All @@ -10,28 +10,19 @@ RUN apt-get update && apt-get install -y \

COPY . .

RUN sed -i 's%./node_modules/.bin/tsx%node%g' ./bin/stf.mjs && \
npm ci --python="/usr/bin/python3" --loglevel http && \
./node_modules/.bin/tsc -p tsconfig.node.json && \
RUN npm ci --python="/usr/bin/python3" --loglevel http && \
npm prune --production


WORKDIR /app/ui

RUN npm ci && \
npx tsc -b && \
npx vite build

# -------- RUNTIME --------
FROM node:20.18.0-bullseye-slim
FROM --platform=linux/amd64 node:20.19.0-bullseye-slim

LABEL org.opencontainers.image.source=https://github.com/VKCOM/devicehub
LABEL org.opencontainers.image.title=DeviceHub
LABEL org.opencontainers.image.vendor=VKCOM
LABEL org.opencontainers.image.description="Control and manage Android and iOS devices from your browser."
LABEL org.opencontainers.image.licenses=Apache-2.0

ENV PATH=/app/bin:$PATH
ENV PATH=/app/.build/bin:$PATH
ENV NODE_OPTIONS="--max-old-space-size=32768"

EXPOSE 3000
Expand All @@ -47,10 +38,10 @@ COPY --from=builder /app .
RUN rm -rf ./ui
COPY --from=builder /app/ui/dist ./ui/dist

RUN ln -s /app/bin/stf.mjs /app/bin/stf && \
ln -s /app/bin/stf.mjs /app/bin/devicehub && \
ln -s /app/bin/stf.mjs /app/bin/dh
RUN ln -s /app/.build/bin/stf.mjs /app/.build/bin/stf && \
ln -s /app/.build/bin/stf.mjs /app/.build/bin/devicehub && \
ln -s /app/.build/bin/stf.mjs /app/.build/bin/dh

USER devicehub-user

CMD ["devicehub", "--help"]
CMD ["devicehub", "--help"]
Loading
Loading