Ver código fonte

create required directory to store nginx pid

bubble
Chunyang Wang 7 anos atrás
committed by GitHub
pai
commit
f8e5e57540
1 arquivos alterados com 3 adições e 2 exclusões
  1. +3
    -2
      Dockerfile

+ 3
- 2
Dockerfile Ver arquivo

@@ -1,12 +1,13 @@
FROM alpine:3.3
FROM alpine:3.4

MAINTAINER Roman Tarnavski

RUN apk add --update nginx
RUN mkdir -p /run/nginx

COPY nginx.conf /etc/nginx/
ADD ./dist/ /usr/share/nginx/html

EXPOSE 8080

CMD nginx -g 'daemon off;'
CMD nginx -g 'daemon off;'

Carregando…
Cancelar
Salvar