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 81d90ea commit 9fef287Copy full SHA for 9fef287
Dockerfile
@@ -18,8 +18,12 @@ COPY ./requirements.txt /requirements.txt
18
EXPOSE ${port}
19
ENV PYTHONPATH=/usr/lib/flux/python3.8:/code
20
21
-# For easier Python development.
22
-RUN python3 -m pip install -r /requirements.txt
+# For easier Python development, and install time for timed commands
+RUN python3 -m pip install -r /requirements.txt && \
23
+ apt-get update && apt-get install -y time && \
24
+ apt-get clean && \
25
+ apt-get autoremove && \
26
+ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
27
28
WORKDIR /code
29
COPY . /code
0 commit comments