generated from GirishCodeAlchemy/alchemy-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (27 loc) · 978 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# FROM alpine:latest
FROM python:3.10-slim
LABEL version="1.0.0"
LABEL repository="https://github.com/GirishCodeAlchemy/githubaction-runtime-adhoc-pr-commands.git"
LABEL homepage="https://github.com/GirishCodeAlchemy/githubaction-runtime-adhoc-pr-commands"
LABEL maintainer="GirishCodeAlchemy"
LABEL "com.github.actions.name"="Runtime Githubaction Adhoc PR commands"
LABEL "com.github.actions.description"="Run the adhoc commands on the runtime using Githubaction on the PR"
LABEL "com.github.actions.icon"="git-pull-request"
LABEL "com.github.actions.color"="gray-dark"
# Install packages
# RUN apk --no-cache add jq bash curl git git-lfs
# Install git
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
jq \
curl \
git-lfs \
wget \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy scripts
COPY scripts /app/
COPY requirements.txt /app/
RUN pip install -r requirements.txt
ENTRYPOINT ["python3","/app/alchemy.py"]