This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove old release and use Blue/Green as default
Switch to blue/green deployment as a default release strategy Use same Dockerfile pattern for staging and production Signed-off-by: Afshin Paydar <[email protected]>
- Loading branch information
Afshin Paydar
committed
Jun 24, 2021
1 parent
37adaf4
commit 44d97fe
Showing
2 changed files
with
23 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
ARG NGINX_LOCATION=/usr/share/nginx/html/beta | ||
FROM nginx:alpine | ||
ARG NGINX_LOCATION | ||
COPY ./dist/compressed $NGINX_LOCATION | ||
COPY ./dist/compressed /usr/share/nginx/html | ||
COPY ./default.conf /etc/nginx/conf.d/default.conf | ||
RUN chown -R nginx:nginx /usr/share/nginx/html |