forked from Netflix/conductor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
38 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
# | ||
# conductor:ui - Netflix Conductor UI | ||
# | ||
FROM node:16-alpine | ||
FROM node:20-alpine | ||
LABEL maintainer="Netflix OSS <conductor@netflix.com>" | ||
|
||
# Install the required packages for the node build | ||
# to run on alpine | ||
RUN apk update && apk add --no-cache python3 py3-pip make g++ | ||
|
||
# A directory within the virtualized Docker environment | ||
# Becomes more relevant when using Docker Compose later | ||
WORKDIR /usr/src/app | ||
|
||
# Copies package.json to Docker environment in a separate layer as a performance optimization | ||
COPY ./ui/package.json ./ | ||
|
||
# Installs all node packages. Cached unless package.json changes | ||
RUN yarn install | ||
|
||
# Copies everything else over to Docker environment | ||
# node_modules excluded in .dockerignore. | ||
# node_modules excluded in .dockerignore. | ||
COPY ./ui . | ||
|
||
CMD [ "yarn", "start" ] |