ManiAz09 commited on
Commit
1251890
·
verified ·
1 Parent(s): 557705b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -2,10 +2,11 @@ FROM python:3.10
2
 
3
 
4
  # RUN apk add --no-cache bash
 
5
 
6
 
7
  # Get the current timestamp and store it in an environment variable
8
- RUN timestamp=$(date +%Y%m%d%H%M%S) && \
9
  echo "Timestamp: $timestamp" && \
10
  echo "export BUILD_TIMESTAMP=$timestamp" >> /etc/profile
11
 
 
2
 
3
 
4
  # RUN apk add --no-cache bash
5
+ # +%Y%m%d%H%M%S
6
 
7
 
8
  # Get the current timestamp and store it in an environment variable
9
+ RUN timestamp=$(date +%s) && \
10
  echo "Timestamp: $timestamp" && \
11
  echo "export BUILD_TIMESTAMP=$timestamp" >> /etc/profile
12