Skip to content

Commit b1f5ecf

Browse files
committed
Merge remote-tracking branch 'upstream/master' into python_env_dockerfile
2 parents 457cc39 + e58849d commit b1f5ecf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ RUN chown -R $UID:$GID $LOGPATH
125125
# Switch user
126126
USER $GID
127127

128+
# Do not write byte code inside ephemeral container storage.
129+
ENV PYTHONDONTWRITEBYTECODE 1
128130

129131
CMD ["sh", "-c", "python3 zimonGrafanaIntf.py -c 10 -s $SERVER -r $PROTOCOL -p $PORT -P $SERVERPORT -t $TLSKEYPATH -l $LOGPATH --tlsKeyFile $TLSKEYFILE --tlsCertFile $TLSCERTFILE --apiKeyName $APIKEYNAME --apiKeyValue $APIKEYVALUE"]
130132

0 commit comments

Comments
 (0)