From 7f4b1853aba06584afb7698bd07358cb2f4ae7ca Mon Sep 17 00:00:00 2001 From: Andrey Zhavoronkov Date: Thu, 1 Jul 2021 17:29:05 +0300 Subject: [PATCH] Fixed cvat_ui image build in case of OOM error (#3379) * fixed cvat_ui image build in case of OOM error * updated changelog --- CHANGELOG.md | 2 ++ Dockerfile.ui | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98964a61..528af0fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Duplication of the cuboids when redraw them () - Some code issues in Deep Extreme Cut handler code () - UI fails when inactive user is assigneed to a task/job () +- Falsely successful `cvat_ui` image build in case of OOM error that leads to the default nginx welcome page + () ### Security diff --git a/Dockerfile.ui b/Dockerfile.ui index 513bc711..3bf5b66b 100644 --- a/Dockerfile.ui +++ b/Dockerfile.ui @@ -1,4 +1,4 @@ -FROM node:lts-alpine AS cvat-ui +FROM node:lts-buster AS cvat-ui ARG http_proxy ARG https_proxy @@ -15,8 +15,6 @@ ENV TERM=xterm \ LANG='C.UTF-8' \ LC_ALL='C.UTF-8' -RUN apk add python3 g++ make - # Install dependencies COPY cvat-core/package*.json /tmp/cvat-core/ COPY cvat-canvas/package*.json /tmp/cvat-canvas/