fix: testing base url. change cypress base image

This commit is contained in:
wancat committed 2024-02-22 23:15:29 +08:00
1 parent f29dcf810f
commit c5a7e77f04
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
- ./logs:/app/logs
environment:
- BASE_URL=http://localhost:5173
- BASE_URL=http://app-test
- MONGO_URL=mongodb://user:user-password@db-test:27017/odyssey-test
- DOCKER_NETWORK=linux-odyssey-players
- SECRET_KEY=b1d2e917-17b9-4fce-9055-082dee6ec5d6 # Only for testing
+3 -1
View File
@@ -1,4 +1,4 @@
FROM cypress/included:13.5.1
FROM cypress/browsers
WORKDIR /e2e
COPY package.json yarn.lock ./
@@ -8,3 +8,5 @@ RUN yarn install
COPY quests ./quests
COPY tests ./tests
WORKDIR /e2e/tests
CMD [ "yarn", "test" ]