Skip to content
This repository was archived by the owner on Jun 20, 2021. It is now read-only.

Commit 4f92a4e

Browse files
author
regisf
committed
Improve docker config
1 parent 703630d commit 4f92a4e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

build/Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@ LABEL com.python-regex.version="1.0.1"
66

77
RUN apk add --no-cache python3 && \
88
python3 -m ensurepip && \
9+
apk add --no-cache git&& \
910
rm -r /usr/lib/python*/ensurepip && \
1011
pip3 install --upgrade pip setuptools && \
1112
rm -r /root/.cache
1213

1314
COPY requirement.txt /tmp
14-
RUN pip3 install -r /tmp/requirement.txt
1515

16-
RUN git clone
16+
RUN pip3 install -r /tmp/requirement.txt && \
17+
git clone https://github.com/regisf/pythonregex.git
18+
19+
EXPOSE 3000
20+
WORKDIR pythonregex
21+
CMD bin/run.sh

build/requirement.txt

-42 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)