init commit
This commit is contained in:
17
deploy/docker/Dockerfile
Normal file
17
deploy/docker/Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user