-
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
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.8.0-base" \ | ||
LABEL version="2.8.1-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.8.0-development" | ||
LABEL version="2.8.1-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.8.0-builder" | ||
LABEL version="2.8.1-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