File tree 3 files changed +12
-6
lines changed 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,11 @@ jobs:
44
44
with :
45
45
image : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
46
46
containerfiles : ./Containerfile
47
- platforms : linux/arm64, linux/ amd64
47
+ platforms : linux/amd64
48
48
oci : true
49
49
50
50
- name : UI Tests
51
51
if : success()
52
52
run : |
53
53
sudo apt-get install xvfb
54
54
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
55
- image :
56
- runs-on : ubuntu-latest
57
- steps :
58
- - uses : actions/checkout@v3
Original file line number Diff line number Diff line change 72
72
containerfiles : ./Containerfile
73
73
platforms : linux/arm64, linux/amd64
74
74
oci : true
75
+ # Webpack seems to use a lot of open files, increase the max open file limit to accomodate.
76
+ extra-args : |
77
+ --ulimit nofile=10000
78
+
75
79
76
80
- name : Upload Release Assets
77
81
if : success()
Original file line number Diff line number Diff line change
1
+ FROM node:18-alpine AS build
2
+
3
+ COPY . .
4
+ RUN npm ci
5
+ RUN npm run build
6
+
1
7
FROM ghcr.io/static-web-server/static-web-server:2.25-alpine
2
8
3
- COPY ./build/prod /public
9
+ COPY --from=build ./build/prod /public
You can’t perform that action at this time.
0 commit comments