Commit 317fd8d3 authored by Rodrigo's avatar Rodrigo

puesta a punto

parent 0c7ea26c
Pipeline #72 canceled with stages
FROM nginx:1.15
RUN useradd -u 1001 -r -g 0 -d /app -s /sbin/nologin -c "Usuario por defecto para la app" default\
&& mkdir -p /app \
&& chown -R 1001:0 /app && chmod -R g+rwX /app
COPY nginx.conf /etc/nginx
COPY drupal.conf /etc/nginx/conf.d/default.conf
RUN chown -R 1001:0 /var/log && chmod -R g+rwX /var/log
RUN chown -R 1001:0 /var/cache/nginx && chmod -R g+rwX /var/cache/nginx
RUN chown -R 1001:0 /var/run && chmod -R g+rwX /var/run
#RUN chown -R 1001:0 /etc/nginx && /chmod -R g+rwX /etc/nginx
EXPOSE 8080
USER 1001
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment