Selaa lähdekoodia

create required directory to store nginx pid

bubble
Chunyang Wang 7 vuotta sitten
committed by GitHub
vanhempi
commit
f8e5e57540
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. +3
    -2
      Dockerfile

+ 3
- 2
Dockerfile Näytä tiedosto

@@ -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;'

Ladataan…
Peruuta
Tallenna