-
Notifications
You must be signed in to change notification settings - Fork 15
/
Dockerfile
29 lines (21 loc) · 894 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
FROM python:3.10-slim-buster
LABEL "com.github.actions.name"="GitHub Actions Version Updater"
LABEL "com.github.actions.description"="GitHub Actions Version Updater updates GitHub Action versions in a repository and creates a pull request with the changes."
LABEL "com.github.actions.icon"="upload-cloud"
LABEL "com.github.actions.color"="green"
LABEL "repository"="https://github.com/saadmk11/github-actions-version-updater"
LABEL "homepage"="https://github.com/saadmk11/github-actions-version-updater"
LABEL "maintainer"="saadmk11"
RUN apt-get update \
&& apt-get install \
-y \
--no-install-recommends \
--no-install-suggests \
git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY ./requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . ./app
ENV PYTHONPATH "${PYTHONPATH}:/app"
CMD ["python", "-m", "src.main"]