Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -4,11 +4,11 @@ FROM python:3.10
|
|
4 |
ARG now
|
5 |
|
6 |
|
7 |
-
ENV
|
8 |
|
9 |
# Ensure the timestamp is available as an environment variable
|
10 |
# ENV BUILD_TIMESTAMP=$timestamp
|
11 |
|
12 |
|
13 |
# Print the timestamp to verify
|
14 |
-
RUN echo "The build timestamp is $
|
|
|
4 |
ARG now
|
5 |
|
6 |
|
7 |
+
ENV timestamp=$(date +%s)
|
8 |
|
9 |
# Ensure the timestamp is available as an environment variable
|
10 |
# ENV BUILD_TIMESTAMP=$timestamp
|
11 |
|
12 |
|
13 |
# Print the timestamp to verify
|
14 |
+
RUN echo "The build timestamp is $timestamp"
|