This commit is contained in:
2025-01-02 22:29:07 +00:00
commit 766e12d0c3
5 changed files with 93 additions and 0 deletions

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
# Container image that runs your code
FROM alpine:3.21
# Install python/pip
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 && \
ln -sf python3 /usr/bin/python && \
python3 -m ensurepip && \
pip3 install --no-cache --upgrade pip setuptools conventional-pre-commit
# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh
# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]