无法在Docker容器中安装Starman

时间:2016-09-27 17:58:03

标签: perl docker

我正在尝试使用starman perl服务器为应用创建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.

我该如何解决这个问题?

0 个答案:

没有答案