Expose port via Dockerfile

This commit is contained in:
Nemo 2018-06-01 19:06:22 +05:30
父節點 86c45612f2
當前提交 87ec543f84
共有 1 個檔案被更改,包括 2 行新增0 行删除

查看文件

@ -6,4 +6,6 @@ COPY Gemfile Gemfile.lock /app/
RUN apk add --no-cache build-base && bundle install && apk del build-base
COPY . /app
EXPOSE 80
ENTRYPOINT ["/usr/local/bin/bundle", "exec", "rackup", "-E", "production", "-p", "80"]