Skip to content

Commit 9f847ec

Browse files
committed
Fix Dockerfile
1 parent 8ef65dc commit 9f847ec

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ RUN apk update \
44
&& apk add --no-cache --virtual .build-deps git g++ postgresql-dev yaml-dev \
55
&& apk add --no-cache libpq
66

7-
WORKDIR /var/src/lnt
7+
COPY . /var/src/lnt
88

9-
COPY requirements*.txt setup.py .
10-
# setup.py uses lnt.__version__ etc.
11-
COPY lnt/__init__.py lnt/__init__.py
12-
# we build the cperf extension during install
13-
COPY lnt/testing/profile lnt/testing/profile
9+
WORKDIR /var/src/lnt
1410

1511
RUN pip3 install -r requirements.server.txt \
1612
&& apk --purge del .build-deps \
1713
&& mkdir /var/log/lnt
1814

19-
COPY . .
2015
COPY docker/docker-entrypoint.sh docker/wait_db /usr/local/bin/
2116

2217
VOLUME /var/log

0 commit comments

Comments
 (0)