-
Notifications
You must be signed in to change notification settings - Fork 672
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
1 changed file
with
3 additions
and
4 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 |
---|---|---|
|
@@ -8,13 +8,12 @@ | |
# EXPOSE 80 | ||
# CMD [ "node", "server/main.js" ] | ||
|
||
|
||
FROM node:lts as dist | ||
MAINTAINER authors="cipchk <[email protected]>" | ||
WORKDIR /dist | ||
RUN git clone --depth 1 --branch gh-pages https://github.com/ng-alain/delon.git . \ | ||
&& sed -i 's/\/delon\//\//g' /dist/index.html \ | ||
&& sed -i 's/\/delon\//\//g' /dist/404.html | ||
RUN git clone --depth 1 --branch gh-pages https://github.com/ng-alain/delon.git . | ||
# && sed -i'.bak' -e 's/\/delon\//\//g' index.html \ | ||
# && sed -i'.bak' -e 's/\/delon\//\//g' 404.html | ||
COPY _nginx _nginx | ||
|
||
FROM nginx:stable-alpine | ||
|