Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
fix testing
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentditlevinz committed Jun 1, 2021
1 parent cd3d68b commit 39c0e03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
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
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 39c0e03

Please sign in to comment.