We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64feb8f commit f8291a6Copy full SHA for f8291a6
be_repo/Dockerfile
@@ -1,5 +1,5 @@
1
# Use an official Python runtime as a parent image
2
-FROM python:3.10-slim
+FROM python:3.9-slim
3
4
# Set the workdir to avoid the "pytest Collecting hang"
5
WORKDIR /app
@@ -12,7 +12,7 @@ RUN pip3 install -r requirements.txt
12
13
# Install pytest for lab3(Even though it's ugly, from my perspective we should not add test codes in docker.)
14
RUN pip3 install pytest
15
-RUN pytest
+RUN pytest --ignore=tests/test_e2e.py
16
17
# Run the command to start the application
18
CMD ["python3", "app.py"]
0 commit comments