Compare commits
5
Commits
42e3718fea
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
323c1ab6a9 | ||
|
|
d71926b967 | ||
|
|
ab1578e5b0 | ||
|
|
1edf238a6b | ||
|
|
6cdb2c8e81 |
@@ -1,12 +1,11 @@
|
|||||||
name: Build and push image
|
name: Build and push image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest:docker://catthehacker/ubuntu:act-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:act-latest
|
image: catthehacker/ubuntu:act-latest
|
||||||
#defaults:
|
#defaults:
|
||||||
+1
-1
@@ -7,6 +7,6 @@ RUN npm run build --verbose
|
|||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY --from=build /app/build/ /usr/share/nginx/html
|
COPY --from=build /app/build/ /usr/share/nginx/html
|
||||||
RUN chmod 755 /usr/share/nginx/html/ -rf
|
RUN chmod 755 /usr/share/nginx/html/ -R
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENTRYPOINT ["sh", "-c", "cd /usr/share/nginx/html/ && nginx -g 'daemon off;'"]
|
ENTRYPOINT ["sh", "-c", "cd /usr/share/nginx/html/ && nginx -g 'daemon off;'"]
|
||||||
+4
-1
@@ -70,5 +70,8 @@
|
|||||||
">0.2%",
|
">0.2%",
|
||||||
"not dead",
|
"not dead",
|
||||||
"not op_mini all"
|
"not op_mini all"
|
||||||
]
|
],
|
||||||
|
"devDependencies": {
|
||||||
|
"@babel/plugin-proposal-private-property-in-object": "7.21.11"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user