Spaces:
Running
Running
File size: 516 Bytes
8d4a057 e8e4b26 6099260 e8e4b26 8d4a057 e8e4b26 6099260 8d4a057 e8e4b26 6099260 8d4a057 e8e4b26 8d4a057 e8e4b26 6099260 8d4a057 e8e4b26 8d4a057 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
FROM node:20-bullseye
# Install system dependencies
RUN apt-get update && apt-get install -y \
python3 python3-pip wget unzip openjdk-17-jdk \
&& apt-get clean
# Install Bubblewrap CLI globally (this provides `twa`)
RUN npm install -g @bubblewrap/cli
# Add npm global bin to PATH
ENV PATH="/root/.npm-global/bin:$PATH"
# Set workdir
WORKDIR /workspace
COPY requirements.txt .
COPY app.py .
COPY entrypoint.sh .
RUN pip3 install -r requirements.txt
RUN chmod +x entrypoint.sh
CMD ["python3", "app.py"]
|