Skip to content

Commit afe2f3d

Browse files
including node and npm install in dockerfile
1 parent c6f8880 commit afe2f3d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
FROM node:alpine
2+
ADD ./axe_selenium_python/package*.json ./src/axe_selenium_python/
3+
WORKDIR /src/axe_selenium_python
4+
RUN npm install
5+
16
FROM ubuntu:xenial
27

38
ENV DEBIAN_FRONTEND=noninteractive \
@@ -34,9 +39,4 @@ ENV TOX_VERSION=3.2.0
3439
RUN pip3 install tox==$TOX_VERSION
3540

3641
ADD . /src
37-
38-
FROM node:alpine
39-
WORKDIR /src/axe_selenium_python
40-
RUN npm install
41-
4242
WORKDIR /src

0 commit comments

Comments
 (0)