init repo
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM alpine
|
||||
|
||||
ARG ARCH
|
||||
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories && \
|
||||
apk update --no-cache && apk --no-cache add curl bash fuse3 sqlite
|
||||
|
||||
ENV TZ Asia/Shanghai
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./toyboom-server-${ARCH} /app/toyboom-server
|
||||
COPY ./etc /app/etc
|
||||
|
||||
RUN ln -sf /app/etc/Shanghai /etc/localtime && mv /app/etc/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
CMD [ "/app/toyboom-server" ]
|
||||
Reference in New Issue
Block a user