source: frontend/node_modules/@surma/rollup-plugin-off-main-thread/Dockerfile

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 527 bytes
Line 
1FROM selenium/node-chrome:latest
2
3USER root
4
5RUN apt-get update -qqy \
6 && rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
7 && rm /bin/sh && ln -s /bin/bash /bin/sh \
8 && chown seluser /usr/local
9
10ENV NVM_DIR /usr/local/nvm
11RUN mkdir -p $NVM_DIR \
12 && wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.35.2/install.sh | bash \
13 && source $NVM_DIR/nvm.sh \
14 && nvm install v12
15
16ENV CHROME_BIN /opt/google/chrome/chrome
17ENV INSIDE_DOCKER=1
18
19WORKDIR /usr/src
20ENTRYPOINT source $NVM_DIR/nvm.sh && npm i && npm test
Note: See TracBrowser for help on using the repository browser.