19 lines
557 B
Docker
19 lines
557 B
Docker
FROM catthehacker/ubuntu:act-latest
|
|
|
|
# Install Python 3.10
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y python3.10-dev
|
|
RUN python3.10 --version
|
|
RUN python --version
|
|
|
|
# Install Poetry
|
|
|
|
RUN python3.10 -m pip install poetry
|
|
RUN poetry config virtualenvs.create false
|
|
|
|
# Install dependencies
|
|
|
|
RUN curl -sSL https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs/raw/branch/main/pyproject.toml -o pyproject.toml
|
|
RUN curl -sSL https://coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs/raw/branch/main/poetry.lock -o poetry.lock
|
|
RUN poetry install --with dev --no-root
|