This repository has been archived by the owner on Jun 15, 2022. It is now read-only.
forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 1
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
cd3d68b
commit 39c0e03
Showing
2 changed files
with
5 additions
and
7 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 |
---|---|---|
@@ -1,16 +1,14 @@ | ||
FROM node:12 | ||
FROM node:14 | ||
|
||
MAINTAINER Format team <[email protected]> | ||
|
||
RUN yarn global add gulp-cli | ||
|
||
ADD . /var/www | ||
WORKDIR /var/www | ||
|
||
RUN yarn | ||
RUN npm i gulp | ||
RUN amp build | ||
|
||
RUN gulp build | ||
|
||
EXPOSE 8000 | ||
|
||
CMD gulp serve --host=0.0.0.0 | ||
CMD amp serve |
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ chmod g+s . | |
# currently the result is not pushed because it will trigger the same job, infinite ci loop | ||
git remote add upstream [email protected]:ampproject/amphtml.git || echo 'upstream already present' | ||
git fetch upstream | ||
git rebase upstream/master | ||
git rebase upstream/main | ||
|
||
git submodule init | ||
git submodule update | ||
|