无法在Docker容器中安装Starman

我正在尝试为starman perl服务器创build一个应用程序的Docker容器

所以我的Dockerfile看起来像这样:

FROM perl:latest MAINTAINER perl5 drd.trif@gmail.com RUN curl -L http://cpanmin.us | perl - App::cpanminus RUN cpanm Carton Starman RUN cachebuster=b953b35 git clone -b pb_on_docker --single-branch https://github.com/DragosTrif/PearlBee.git RUN cd PearlBee && carton install && carton install --deployment EXPOSE 8080 WORKDIR PearlBee CMD carton exec starman --port 8080 bin/app.psgi 

但它没有安装Starman

我检查了build.log ,发现这个错误:

 2016/09/27-08:18:16 Starman::Server (type Net::Server::PreFork) starting! pid(13467) Missing port in hashref passed in port argument. 2016/09/27-08:41:17 Starman::Server (type Net::Server::PreFork) starting! pid(13468) Missing port in hashref passed in port argument. 

我怎样才能解决这个问题 ?