Skip to content

Commit 92f6870

Browse files
committed
1 parent 9784ad6 commit 92f6870

File tree

2 files changed

+31
-8
lines changed

2 files changed

+31
-8
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM python:3-alpine
1+
FROM python:3.7-alpine
22
WORKDIR /src/
33

4-
COPY requirements.txt ./
4+
COPY requirements.txt /tmp/
55

66
RUN apk add -t .build --no-cache postgresql-dev gcc musl-dev \
7-
&& pip install --no-cache-dir -r requirements.txt \
7+
&& pip install --no-cache-dir -r /tmp/requirements.txt \
88
&& apk del --no-cache .build
99

10-
COPY . .
10+
COPY handlers.py .
1111

1212
USER 1001
1313

requirements.txt

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
1-
kopf
2-
psycopg2
3-
kubernetes
4-
PyYAML
1+
aiohttp==3.5.4
2+
aiojobs==0.2.2
3+
async-timeout==3.0.1
4+
attrs==19.1.0
5+
cachetools==3.1.1
6+
certifi==2019.3.9
7+
chardet==3.0.4
8+
Click==7.0
9+
google-auth==1.6.3
10+
idna==2.8
11+
iso8601==0.1.12
12+
kopf==0.14
13+
kubernetes==9.0.0
14+
multidict==4.5.2
15+
oauthlib==3.0.1
16+
psycopg2-binary==2.8.2
17+
pyasn1==0.4.5
18+
pyasn1-modules==0.2.5
19+
python-dateutil==2.8.0
20+
PyYAML==5.1
21+
requests==2.22.0
22+
requests-oauthlib==1.2.0
23+
rsa==4.0
24+
six==1.12.0
25+
urllib3==1.25.3
26+
websocket-client==0.56.0
27+
yarl==1.3.0

0 commit comments

Comments
 (0)