Initial commit

This commit is contained in:
Eddy de Vink 2026-07-22 20:40:10 +02:00
commit ccd9f0ddd0

26
Dockerfile Normal file
View file

@ -0,0 +1,26 @@
FROM node:lts-bookworm-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
openjdk-17-jdk-headless \
wget \
unzip \
&& rm -rf /var/lib/apt/lists/*
RUN wget -q https://dl.google.com/android/repository/platform-tools-latest-linux.zip \
-O /tmp/platform-tools.zip \
&& mkdir -p /opt/android-sdk \
&& unzip -q /tmp/platform-tools.zip -d /opt/android-sdk \
&& rm /tmp/platform-tools.zip
ENV ANDROID_HOME=/opt/android-sdk
ENV PATH=$PATH:$ANDROID_HOME/platform-tools
RUN npm install -g appium@latest \
&& appium driver install uiautomator2
EXPOSE 4723
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]