Dockerfile COPY from a Windows file system to a docker container

 ̄綄美尐妖づ 提交于 2019-12-05 07:51:54

First, change your Dockerfile to:

FROM php:7.1-apache
LABEL maintainer="rburton@agsource.com"
COPY MyAgsourceAPI /var/www

Then, to go your code directory: cd Users/rburton/code.

Within that directory, run: docker build -t <image_name> .

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!