diff --git a/.marscode/deviceInfo.json b/.marscode/deviceInfo.json new file mode 100644 index 0000000..ff6378d --- /dev/null +++ b/.marscode/deviceInfo.json @@ -0,0 +1,3 @@ +{ + "deviceId": "8f56238c248b96b6f8b965c2f2f9b847422004bbab8228a7ca739364e20175e1" +} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0ea488c --- /dev/null +++ b/Dockerfile @@ -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 \ No newline at end of file