ActionsDockerContainers/SeaCogs/Dockerfile
cswimr a4299f635d
All checks were successful
Actions / Build and Push Images (push) Successful in 3m29s
bunch of changes
- updated all mentions of seaswimmer or seaswimmtherfsh to my new username, cswimr
- added a cron schedule to the build.yaml workflow
- add dockerfiles for Red-DiscordBot
2024-08-27 13:54:14 -04:00

47 lines
1.1 KiB
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 Nodejs
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs && \
node --version
# Install Meli CLI
RUN npm install -g @getmeli/cli@1.2.0
# Set up deadsnakes PPA
RUN add-apt-repository ppa:deadsnakes/ppa -y
# Install Python 3.11
RUN apt-get install -y \
python3.11 \
python3.11-dev \
python3.11-venv
RUN python3.11 --version
# Install Poetry
RUN python3.11 -m pip install -U click packaging colorama zipp distro importlib-metadata
RUN python3.11 -m pip install poetry
RUN poetry config virtualenvs.in-project true
# Install dependencies
RUN curl -sSL https://www.coastalcommits.com/cswimr/SeaCogs/raw/branch/main/pyproject.toml -o pyproject.toml
RUN curl -sSL https://www.coastalcommits.com/cswimr/SeaCogs/raw/branch/main/poetry.lock -o poetry.lock
RUN poetry install --with dev --with docs --no-root