File tree 5 files changed +14
-8
lines changed
5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ EXPOSE 443
34
34
COPY docker/rootfs /
35
35
ADD backend /app
36
36
ADD frontend/dist /app/frontend
37
- COPY global /app/global
37
+ COPY global /app/global
38
38
39
39
WORKDIR /app
40
40
RUN yarn install
Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ services:
47
47
cypress-mysql :
48
48
image : ${IMAGE}-cypress:ci-${BUILD_NUMBER}
49
49
build :
50
- context : ../
51
- dockerfile : test/ cypress/Dockerfile
50
+ context : ../test/
51
+ dockerfile : cypress/Dockerfile
52
52
environment :
53
53
CYPRESS_baseUrl : " http://fullstack-mysql:81"
54
54
volumes :
@@ -58,8 +58,8 @@ services:
58
58
cypress-sqlite :
59
59
image : ${IMAGE}-cypress:ci-${BUILD_NUMBER}
60
60
build :
61
- context : ../
62
- dockerfile : test/ cypress/Dockerfile
61
+ context : ../test/
62
+ dockerfile : cypress/Dockerfile
63
63
environment :
64
64
CYPRESS_baseUrl : " http://fullstack-sqlite:81"
65
65
volumes :
Original file line number Diff line number Diff line change
1
+ node_modules
Original file line number Diff line number Diff line change 1
- FROM cypress/included:4.12.1
1
+ FROM cypress/included:5.6.0
2
2
3
- COPY --chown=1000 ./test /test
3
+ COPY --chown=1000 ./ /test
4
+
5
+ # mkcert
6
+ ENV MKCERT=1.4.2
7
+ RUN wget -O /usr/bin/mkcert "https://github.com/FiloSottile/mkcert/releases/download/v${MKCERT}/mkcert-v${MKCERT}-linux-amd64" \
8
+ && chmod +x /usr/bin/mkcert
4
9
5
10
WORKDIR /test
6
11
RUN yarn install
Original file line number Diff line number Diff line change 7
7
"@jc21/cypress-swagger-validation" : " ^0.0.9" ,
8
8
"@jc21/restler" : " ^3.4.0" ,
9
9
"chalk" : " ^4.1.0" ,
10
- "cypress" : " ^4.12.1 " ,
10
+ "cypress" : " ^5.6.0 " ,
11
11
"cypress-multi-reporters" : " ^1.4.0" ,
12
12
"cypress-plugin-retries" : " ^1.5.2" ,
13
13
"eslint" : " ^7.6.0" ,
You can’t perform that action at this time.
0 commit comments