-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathDockerfile
29 lines (21 loc) · 836 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.5-slim-buster
LABEL "com.github.actions.name"="Changelog CI"
LABEL "com.github.actions.description"="Changelog CI is a GitHub Action that generates changelog, Then the changelog is committed and/or commented to the release Pull request."
LABEL "com.github.actions.icon"="clock"
LABEL "com.github.actions.color"="blue"
LABEL "repository"="https://github.com/saadmk11/changelog-ci"
LABEL "homepage"="https://github.com/saadmk11/changelog-ci"
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 -r requirements.txt
COPY . ./app
ENV PYTHONPATH "${PYTHONPATH}:/app"
CMD ["python", "-m", "scripts.main"]