File tree 2 files changed +9
-5
lines changed 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
Dockerfile
2
2
contrib /docker /Dockerfile. *
3
+ target
Original file line number Diff line number Diff line change @@ -19,19 +19,22 @@ RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
19
19
20
20
RUN locale-gen en_US.UTF-8 && dpkg-reconfigure --frontend noninteractive tzdata
21
21
22
- COPY . .
23
-
24
22
# install package for python cryptography lib
25
23
# https://cryptography.io/en/latest/installation/#debian-ubuntu
26
24
27
25
RUN apt-get -qq update && \
28
26
apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
29
27
build-essential libssl-dev libffi-dev \
30
- python3-dev cargo
28
+ python3-dev cargo python3-pip
29
+
30
+ COPY . .
31
+
32
+ RUN pip install poetry && \
33
+ poetry export --without-hashes -o /tmp/requirements.txt && \
34
+ cat /tmp/requirements.txt && \
35
+ pip install -r /tmp/requirements.txt
31
36
32
37
# move the script in the root of the directory
33
38
RUN cp contrib/docker/scripts/*.sh .
34
39
35
- RUN ls -la
36
-
37
40
CMD ["./contrib/docker/scripts/entrypoint.sh"]
You can’t perform that action at this time.
0 commit comments