init commit

This commit is contained in:
2023-03-08 11:09:44 +08:00
commit b75e70eb04
25 changed files with 1172 additions and 0 deletions

17
deploy/docker/Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM alpine:3.16
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
RUN apk update && apk add tzdata
ARG APP_NAME=cago
ENV APP_NAME=$APP_NAME
WORKDIR /app
COPY $APP_NAME .
RUN ls -l && chmod +x $APP_NAME
CMD ["sh", "-c", "./$APP_NAME"]