Explorar el Código

amended time zone

chenhaiyang hace 4 años
padre
commit
1d8eaa1be1
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -12,4 +12,6 @@ COPY .env /app/.env
 
 COPY ./app /app/app
 
+ENV TZ=Asia/Shanghai
+
 CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]