Skip to content
Snippets Groups Projects
Dockerfile-testing 301 B
Newer Older
  • Learn to ignore specific revisions
  • FROM docker.io/node:8-stretch
    
    ARG DEBIAN_FRONTEND=noninteractive
    
    
    RUN apt-get update \
        && apt-get install -y chromium
    
    COPY ./webapp/package.json /app/webapp/package.json
    RUN cd /app/webapp; npm install
    
    COPY ./webapp /app/webapp
    
    WORKDIR /app/webapp
    
    RUN npm run test:ci