Spaces:
Running
Running
Upload Dockerfile with huggingface_hub
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -13,6 +13,7 @@ ENV MYSQL_ROOT_PASSWORD=PM-DBPassw0rd
|
|
| 13 |
# Create startup script (Apache only)
|
| 14 |
RUN echo '#!/bin/bash' > /start.sh && \
|
| 15 |
echo 'set -e' >> /start.sh && \
|
|
|
|
| 16 |
echo 'echo "Starting Apache on port 7860..."' >> /start.sh && \
|
| 17 |
echo 'exec apache2 -D FOREGROUND' >> /start.sh && \
|
| 18 |
chmod +x /start.sh
|
|
|
|
| 13 |
# Create startup script (Apache only)
|
| 14 |
RUN echo '#!/bin/bash' > /start.sh && \
|
| 15 |
echo 'set -e' >> /start.sh && \
|
| 16 |
+
echo 'source /etc/apache2/envvars' >> /start.sh && \
|
| 17 |
echo 'echo "Starting Apache on port 7860..."' >> /start.sh && \
|
| 18 |
echo 'exec apache2 -D FOREGROUND' >> /start.sh && \
|
| 19 |
chmod +x /start.sh
|