Skip to content

Commit

Permalink
[SKIPCI] fix tz in docker (#2508)
Browse files Browse the repository at this point in the history
* [SKIPCI] fix tz in docker

* fix
  • Loading branch information
jiqiang90 authored Jul 29, 2024
1 parent ebcfdbb commit d8857d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Build stage
FROM node:18-alpine as builder
ENV TZ ='UTC'
# Set working directory
WORKDIR /app

Expand Down Expand Up @@ -37,7 +36,7 @@ RUN mkdir -p .monitor && \
# Make the user not ROOT
USER 1000
# Fix timezone to UTC
ENV TZ ='UTC'
ENV TZ=utc

# Set Entry point and command
ENTRYPOINT ["/sbin/tini", "--", "/bin/run"]
Expand Down

0 comments on commit d8857d5

Please sign in to comment.