Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -22,6 +22,7 @@ RUN git clone https://github.com/LinkSoul-AI/AutoAgents autoagents && \
|
|
22 |
cp docker/autoagents.conf /etc/nginx/conf.d/autoagents.conf && \
|
23 |
sed -i 's/nodaemon=true/nodaemon=true\nuser=user/g' /etc/supervisor/conf.d/supervisord.conf && \
|
24 |
sed -i 's/nginx/user/g' /etc/uwsgi/uwsgi.ini && \
|
25 |
-
sed -i 's/nginx;/user;/g' /etc/nginx/nginx.conf
|
|
|
26 |
|
27 |
EXPOSE 7860
|
|
|
22 |
cp docker/autoagents.conf /etc/nginx/conf.d/autoagents.conf && \
|
23 |
sed -i 's/nodaemon=true/nodaemon=true\nuser=user/g' /etc/supervisor/conf.d/supervisord.conf && \
|
24 |
sed -i 's/nginx/user/g' /etc/uwsgi/uwsgi.ini && \
|
25 |
+
sed -i 's/nginx;/user;/g' /etc/nginx/nginx.conf && \
|
26 |
+
rm /etc/nginx/conf.d/nginx.conf
|
27 |
|
28 |
EXPOSE 7860
|