Nice commited on
Commit
871df78
·
verified ·
1 Parent(s): 010d411

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-alpine
2
+
3
+ RUN apk update && \
4
+ apk add --no-cache tzdata && \
5
+ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
6
+ echo "Asia/Shanghai" > /etc/timezone
7
+
8
+ COPY . /Youcom_api
9
+
10
+ WORKDIR /Youcom_api
11
+
12
+ CMD python api.py