A arm nginx base on Hypriot.
310
This is my first arm images. I create it base on Hypriot.
download path file
git clone [email protected]:laynefyc/arm-nginx.git
start nginx
cd arm-nginx
docker run -d -it -p 80:80 \
-v `pwd`/www:/www \
-v `pwd`/config:/etc/nginx/sites-enabled \
-v `pwd`/logs:/var/log/nginx \
laynefyc/arm_nginx
git url: arm-nginx
Dockerfile source: arm-nginx
Dockerfile code
FROM resin/rpi-raspbian:latest
MAINTAINER Layne Fyc <[email protected]>
RUN apt-get update \
&& apt-get install -y nginx \
&& apt-get -y clean
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log
EXPOSE 80 443
CMD ["nginx", "-g", "daemon off;"]
````
Content type
Image
Digest
Size
50.3 MB
Last updated
about 10 years ago
docker pull laynefyc/arm_nginx