Spaces:
Runtime error
Runtime error
macrdel
commited on
Commit
β’
b0f1e17
1
Parent(s):
06aca80
update workflow
Browse files
docker-compose.yml
CHANGED
@@ -61,8 +61,8 @@ services:
|
|
61 |
|
62 |
tests:
|
63 |
build:
|
64 |
-
context:
|
65 |
-
dockerfile: Dockerfile
|
66 |
volumes:
|
67 |
- ./app:/home/user/app
|
68 |
depends_on:
|
|
|
61 |
|
62 |
tests:
|
63 |
build:
|
64 |
+
context: ./tests
|
65 |
+
dockerfile: Dockerfile
|
66 |
volumes:
|
67 |
- ./app:/home/user/app
|
68 |
depends_on:
|
Dockerfile.Test β tests/Dockerfile
RENAMED
@@ -13,6 +13,6 @@ ENV HOME=/home/user \
|
|
13 |
|
14 |
WORKDIR $HOME/app
|
15 |
|
16 |
-
COPY --chown=user
|
17 |
|
18 |
-
CMD ["pytest", "
|
|
|
13 |
|
14 |
WORKDIR $HOME/app
|
15 |
|
16 |
+
COPY --chown=user .. $HOME/app
|
17 |
|
18 |
+
CMD ["pytest", "."]
|