31 lines
611 B
Docker
31 lines
611 B
Docker
FROM catthehacker/ubuntu:act-latest
|
|
|
|
# Install APT packages
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y \
|
|
libcairo2-dev \
|
|
libfreetype6-dev \
|
|
libffi-dev \
|
|
libjpeg-dev \
|
|
libpng-dev \
|
|
libz-dev \
|
|
pngquant
|
|
|
|
# Install Python and Node.js
|
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
|
RUN apt-get install -y \
|
|
nodejs \
|
|
python3.11 \
|
|
python3.11-dev \
|
|
python3.11-venv
|
|
|
|
# Install Poetry
|
|
|
|
RUN curl -sSl https://seafsh.cc/go/poetry | python3.11 -
|
|
|
|
# Install dependencies
|
|
|
|
RUN poetry config virtualenvs.create false
|
|
RUN poetry install --with dev --with docs --no-root
|