Compare commits
8
Commits
de6af2d8cc
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
323c1ab6a9 | ||
|
|
d71926b967 | ||
|
|
ab1578e5b0 | ||
|
|
1edf238a6b | ||
|
|
6cdb2c8e81 | ||
|
|
42e3718fea | ||
|
|
6eb9293879 | ||
|
|
681b36c34d |
@@ -1,12 +1,11 @@
|
||||
name: Build and push image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest:docker://catthehacker/ubuntu:act-latest
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
#defaults:
|
||||
@@ -39,4 +38,4 @@ jobs:
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
gitea.simonzeyer.de/schuelerlabor-cleverlab/smarti:${{ steps.meta.outputs.REPO_VERSION }}
|
||||
gitea.simonzeyer.de/schuelerlabor-cleverlab/smarti:${{ steps.meta.outputs.REPO_VERSION }}
|
||||
+1
-1
@@ -7,6 +7,6 @@ RUN npm run build --verbose
|
||||
|
||||
FROM nginx:alpine
|
||||
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
|
||||
ENTRYPOINT ["sh", "-c", "cd /usr/share/nginx/html/ && nginx -g 'daemon off;'"]
|
||||
+4
-1
@@ -70,5 +70,8 @@
|
||||
">0.2%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
]
|
||||
],
|
||||
"devDependencies": {
|
||||
"@babel/plugin-proposal-private-property-in-object": "7.21.11"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user