14 lines
441 B
Docker
14 lines
441 B
Docker
# Lightweight e2e test image. Inherits the MiroFish base image (already
|
|
# has the patched graphiti_service.py + all Python deps) and only adds
|
|
# the test script. Keeps the image small and the build fast.
|
|
|
|
FROM mirofish:latest
|
|
|
|
# Drop the long-running start.sh and just run the test
|
|
USER root
|
|
RUN mkdir -p /app/deploy
|
|
COPY e2e_test.py /app/deploy/e2e_test.py
|
|
|
|
# Run the test as the entrypoint
|
|
ENTRYPOINT ["python", "/app/deploy/e2e_test.py"]
|