diff --git a/Dockerfile b/Dockerfile index ac8802f61..66409cff6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,7 @@ ENV PYTHONSTARTUP=.pythonrc.py ENV POETRY_VIRTUALENVS_CREATE=false # Install Python & Node -RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && \ - apt-get update && apt-get install -y --no-install-recommends \ +RUN apt-get update && apt-get install -y --no-install-recommends \ # Install general packages git nano \ curl wget gpg \ @@ -22,10 +21,10 @@ RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && \ # Install python and supporting packages python${PYTHON_VERSION} \ python${PYTHON_VERSION}-dev \ - python3-pip \ + python3-pip && \ # Install Node - nodejs \ - npm && \ + curl -sL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && \ + apt-get install -y --no-install-recommends nodejs && \ # Setup python symlinks rm -rf /usr/bin/python3 && \ ln -s /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 && \ diff --git a/test.dockerfile b/test.dockerfile index 3b3a98312..5a3cdbd6b 100644 --- a/test.dockerfile +++ b/test.dockerfile @@ -8,6 +8,3 @@ RUN poetry run playwright install-deps RUN poetry run playwright install COPY . ./ -RUN cp .env.ci .env - -RUN npm ci && npm run build