You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
354 B
20 lines
354 B
FROM alpine:latest
|
|
|
|
RUN mkdir "/app"
|
|
WORKDIR "/app"
|
|
|
|
RUN mkdir "/app/config"
|
|
RUN mkdir "/app/log"
|
|
RUN mkdir "/app/upload"
|
|
|
|
# 修正时区
|
|
RUN apk update && apk add tzdata
|
|
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
|
RUN echo "Asia/Shanghai" > /etc/timezone
|
|
|
|
|
|
COPY luxshare-mrsb "/app/luxshare-mrsb"
|
|
|
|
EXPOSE 7201
|
|
|
|
ENTRYPOINT ["./luxshare-mrsb"] |