Kano001 commited on
Commit
64d76a2
·
verified ·
1 Parent(s): d3ff19c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -2
Dockerfile CHANGED
@@ -1,5 +1,13 @@
1
- # Stage 1: Build the Mirror server (assuming the Unity server build is already done)
2
- FROM ubuntu:20.04 AS builder
 
 
 
 
 
 
 
 
3
 
4
  # Install dependencies
5
  RUN apt-get update && apt-get install -y \
 
1
+ FROM ubuntu:20.04
2
+
3
+ # Set the timezone environment variable (example: America/New_York)
4
+ ENV TZ=America/New_York
5
+
6
+ # Install tzdata package and set timezone non-interactively
7
+ RUN apt-get update && apt-get install -y tzdata \
8
+ && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
9
+ && echo $TZ > /etc/timezone \
10
+ && apt-get clean
11
 
12
  # Install dependencies
13
  RUN apt-get update && apt-get install -y \