-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
# Dockerfile | ||
FROM alpine:latest | ||
|
||
# Update and install dependencies | ||
RUN apk update && apk --no-cache add python3 py3-pip git bash && \ | ||
# Instalar Python3, pip, git, bash e as dependências necessárias | ||
RUN apk --no-cache add python3 py3-pip git bash build-base && \ | ||
python3 -m ensurepip && \ | ||
pip3 install --upgrade pip && \ | ||
pip3 install requests | ||
|
||
# Copy script to the container | ||
# Copiar o script para o contêiner | ||
COPY pull-request.py /pull-request.py | ||
|
||
# Set default command | ||
# Definir o ponto de entrada (comando que será executado ao iniciar o contêiner) | ||
CMD ["python3", "/pull-request.py"] |