mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: testing base url. change cypress base image
This commit is contained in:
1 parent
f29dcf810f
commit
c5a7e77f04
2 files changed
+5
-3
No files matched your search
@@ -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
|
||||
|
||||
+4
-2
@@ -1,4 +1,4 @@
|
||||
FROM cypress/included:13.5.1
|
||||
FROM cypress/browsers
|
||||
|
||||
WORKDIR /e2e
|
||||
COPY package.json yarn.lock ./
|
||||
@@ -7,4 +7,6 @@ RUN yarn install
|
||||
|
||||
COPY quests ./quests
|
||||
COPY tests ./tests
|
||||
WORKDIR /e2e/tests
|
||||
WORKDIR /e2e/tests
|
||||
|
||||
CMD [ "yarn", "test" ]
|
||||
Reference in new issue
Block a user