Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Dockerfile 247 B
Newer Older
  • Learn to ignore specific revisions
  • peter_rabbit's avatar
    peter_rabbit committed
    FROM nginx
    
    ## Remove default nginx index page
    RUN rm -rf /usr/share/nginx/html/*
    
    RUN apt-get update \
        && apt upgrade -y \
    
    peter_rabbit's avatar
    peter_rabbit committed
        && apt-get install nodejs npm -y
    
    peter_rabbit's avatar
    peter_rabbit committed
    
    WORKDIR /usr/share/nginx/html
    
    
    peter_rabbit's avatar
    peter_rabbit committed
    COPY . .
    
    RUN cp .nginx.conf /etc/nginx/nginx.conf