答案 0 :(得分:1)
按照此处的说明进行操作:https://flutter.dev/docs/deployment/android#building-the-app-for-release
命令应为:FROM java:8
RUN mkdir -p /opt/shinyproxy/
RUN wget https://www.shinyproxy.io/downloads/shinyproxy-2.3.0.jar -O /opt/shinyproxy/shinyproxy.jar
COPY application.yml /opt/shinyproxy/application.yml
RUN mkdir /opt/shinyproxy/templates
ADD templates /opt/shinyproxy/templates
WORKDIR /opt/shinyproxy/
CMD ["java", "-jar", "/opt/shinyproxy/shinyproxy.jar"]
(当然,您首先需要在build.gradle中设置密钥库信息)