Skip to content

Commit

Permalink
fix docker
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexInABox committed Oct 7, 2023
1 parent 6739465 commit bdb0437
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Use a small Node.js image as the base
FROM node:alpine
FROM node:slim

# Set the timezone to UTC+8 (Asia/Shanghai)
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

# Set the working directory to /app
WORKDIR /app
Expand Down

0 comments on commit bdb0437

Please sign in to comment.