Skip to content

Commit

Permalink
oper: docker-build corrigido
Browse files Browse the repository at this point in the history
  • Loading branch information
b4hia authored Oct 10, 2024
1 parent c71a9b4 commit ce6b4d3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
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"]

0 comments on commit ce6b4d3

Please sign in to comment.