|
from ubuntu |
|
from python3.10 |
|
FROM node:16.16.0 as base |
|
|
|
RUN apt-get update && apt-get install -y \ |
|
fonts-liberation \ |
|
libasound2 \ |
|
libatk-bridge2.0-0 \ |
|
libatk1.0-0 \ |
|
libatspi2.0-0 \ |
|
libcups2 \ |
|
libdbus-1-3 \ |
|
libdrm2 \ |
|
libgbm1 \ |
|
libgtk-3-0 \ |
|
|
|
libnspr4 \ |
|
libnss3 \ |
|
libwayland-client0 \ |
|
libxcomposite1 \ |
|
libxdamage1 \ |
|
libxfixes3 \ |
|
libxkbcommon0 \ |
|
libxrandr2 \ |
|
xdg-utils \ |
|
libu2f-udev \ |
|
libvulkan1 |
|
|
|
RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb |
|
RUN apt-get install -y ./google-chrome-stable_current_amd64.deb |
|
RUN rm google-chrome-stable_current_amd64.deb |
|
|
|
RUN echo "Chrome: " && google-chrome --version |
|
COPY ["requirements.txt", "app.py"] |
|
COPY . . |
|
RUN pip3 install -r requirements.txt |
|
CMD ["python3 app.py"] |
|
|
|
|
|
|