Initial
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user