Skip to content

Commit

Permalink
Fixed cvat_ui image build in case of OOM error (cvat-ai#3379)
Browse files Browse the repository at this point in the history
* fixed cvat_ui image build in case of OOM error

* updated changelog
  • Loading branch information
Andrey Zhavoronkov authored Jul 1, 2021
1 parent b7f8e8d commit 7f4b185
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (<https://github.com/openvinotoolkit/cvat/pull/3308>)
- Some code issues in Deep Extreme Cut handler code (<https://github.com/openvinotoolkit/cvat/pull/3325>)
- UI fails when inactive user is assigneed to a task/job (<https://github.com/openvinotoolkit/cvat/pull/3343>)
- Falsely successful `cvat_ui` image build in case of OOM error that leads to the default nginx welcome page
(<https://github.com/openvinotoolkit/cvat/pull/3379>)

### Security

Expand Down
4 changes: 1 addition & 3 deletions Dockerfile.ui
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts-alpine AS cvat-ui
FROM node:lts-buster AS cvat-ui

ARG http_proxy
ARG https_proxy
Expand All @@ -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/
Expand Down

0 comments on commit 7f4b185

Please sign in to comment.