-
Notifications
You must be signed in to change notification settings - Fork 7
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
1 parent
971cb15
commit 1f5d392
Showing
4 changed files
with
6 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,13 +9,13 @@ ENV PATH /opt/cric/frontend/node_modules/.bin:$PATH | |
# Expose port. Otherwise, we will have "This site can’t be reached" | ||
# https://stackoverflow.com/a/46779529 | ||
EXPOSE 4200 | ||
LABEL version="2.10.5-base" \ | ||
LABEL version="2.10.6-base" \ | ||
description="Frontend in Angular for CRIC Searchable Image Database" \ | ||
maintainer="[email protected]" | ||
|
||
FROM base as development | ||
RUN npm install && npm cache clean --force | ||
LABEL version="2.10.5-development" | ||
LABEL version="2.10.6-development" | ||
|
||
FROM development as builder | ||
ARG CRIC_DOMAIN="https://database.cric.com.br" | ||
|
@@ -24,7 +24,7 @@ ARG CRIC_EMAIL="[email protected]" | |
ARG CRIC_PLAYGROUND=false | ||
COPY . ./ | ||
RUN ng build --prod --build-optimizer | ||
LABEL version="2.10.5-builder" | ||
LABEL version="2.10.6-builder" | ||
|
||
# Build a small nginx image with static website | ||
FROM nginx:alpine as production | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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