我已经利用斜体开发了一个网络应用。 我想将我的网络应用到使用水管的ec中。 利用码头建设环境,同时管理指挥,
docker Building -t mydocker
我正在经历以下错误:
Sending build context to Docker daemon 46.59kB Error response from daemon: No build stage in current context
这是我的Dockerfile
FROM ubuntu:latest
MAINTAINER My Name "myname@somecompany.com"
RUN apt-get update && apt-get upgrade -y
RUN apt-get install nginx -y
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
Please help me build an image. Please post the dockerfile commands what i should mention.