Fix alpine bug in Dockerfile.

This commit is contained in:
Yang Luo
2021-09-21 01:06:57 +08:00
parent 8cb96142db
commit a04f669580

View File

@ -11,6 +11,8 @@ RUN yarn config set registry https://registry.npm.taobao.org
RUN yarn install && yarn run build
FROM alpine:latest
RUN sed -i 's/https/http/' /etc/apk/repositories
RUN apk add curl
LABEL MAINTAINER="https://casdoor.org/"
COPY --from=BACK /go/src/casdoor/ ./