add Dockerfile

This commit is contained in:
xinyu 2026-03-18 21:22:21 +08:00
parent e95168c529
commit c3c1189c08
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,3 @@
{
"deviceId": "8f56238c248b96b6f8b965c2f2f9b847422004bbab8228a7ca739364e20175e1"
}

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM nginx:1.25.3-alpine
LABEL "authors"="suguo.yao"
LABEL "email"="ysg@myschools.me"
ENV TZ=Asia/Shanghai \
LANG=C.UTF-8 \
APP_DIR=/usr/share/nginx/html
COPY dist/. ${APP_DIR}
WORKDIR ${APP_DIR}
EXPOSE 80
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo ${TZ} > /etc/timezone