diff --git a/docker/Dockerfile.frontend b/docker/Dockerfile.frontend index 921c8a1cbb223..8b137891791fe 100644 --- a/docker/Dockerfile.frontend +++ b/docker/Dockerfile.frontend @@ -1,21 +1 @@ -FROM node:16.13.0-slim AS frontend -WORKDIR /app/oppia - -RUN apt-get update -y && apt-get install -y \ - chromium \ - curl \ - git \ - ca-certificates && \ - apt-get clean && rm -rf /var/lib/apt/lists/* - -# Installing packages from the package.json file. -COPY package.json . -COPY scripts/linters/custom_eslint_checks ./scripts/linters/custom_eslint_checks - -COPY yarn.lock . -RUN npm install -g yarn@1.22.15 --force -RUN yarn install --pure-lockfile - -# Clean up temporary files -RUN rm -rf /tmp/* /var/tmp/*