mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-24 17:31:32 +00:00
Unify Docker container config file locations to project root
This commit is contained in:
parent
0d41b4c8e9
commit
4c50f07be9
@ -59,7 +59,7 @@ ENV TFW_LIB_DIR="/usr/local/lib/"
|
||||
ENV TFW_SUPERVISORD_CONF="/etc/supervisor/supervisord.conf"
|
||||
ENV PYTHONPATH=${TFW_LIB_DIR}
|
||||
|
||||
COPY src/nginx /etc/nginx
|
||||
COPY nginx /etc/nginx
|
||||
RUN chown -R ${AVATAO_USER}: /var/log/nginx /var/lib/nginx && \
|
||||
# nginx runs as a regular user, and can't write to /run
|
||||
sed -i 's#pid /run/nginx.pid;#pid /tmp/nginx.pid;#g' /etc/nginx/nginx.conf && \
|
||||
@ -70,7 +70,7 @@ RUN chown -R ${AVATAO_USER}: /var/log/nginx /var/lib/nginx && \
|
||||
USER ${AVATAO_USER}
|
||||
WORKDIR /home/${AVATAO_USER}
|
||||
COPY lib ${TFW_LIB_DIR}
|
||||
COPY supervisord.conf ${TFW_SUPERVISORD_CONF}
|
||||
COPY supervisor/supervisord.conf ${TFW_SUPERVISORD_CONF}
|
||||
COPY src/app ${TFW_APP_DIR}
|
||||
COPY src/event_handlers ${TFW_EVENT_HANDLERS_DIR}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user