Spaces:
Running
Running
Upload Dockerfile with huggingface_hub
Browse files- Dockerfile +9 -0
Dockerfile
CHANGED
|
@@ -16,6 +16,15 @@ RUN sed -i 's/Listen 80/Listen 7860/' /etc/apache2/ports.conf && \
|
|
| 16 |
# Create DocumentRoot if it doesn't exist
|
| 17 |
RUN mkdir -p /opt/pm/processmaker/workflow/public_html
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
# Copy ProcessMaker files to DocumentRoot (if they exist in the base image)
|
| 20 |
RUN if [ -d /opt/pm/processmaker ]; then \
|
| 21 |
ls -la /opt/pm/processmaker/; \
|
|
|
|
| 16 |
# Create DocumentRoot if it doesn't exist
|
| 17 |
RUN mkdir -p /opt/pm/processmaker/workflow/public_html
|
| 18 |
|
| 19 |
+
# Extract and setup ProcessMaker
|
| 20 |
+
RUN cd /opt && \
|
| 21 |
+
tar -xzf processmaker-3.2.3-community.tar.gz && \
|
| 22 |
+
ls -la /opt/ && \
|
| 23 |
+
if [ -d /opt/processmaker ]; then \
|
| 24 |
+
cp -r /opt/processmaker/* /opt/pm/processmaker/workflow/public_html/ 2>/dev/null || true; \
|
| 25 |
+
fi && \
|
| 26 |
+
ls -la /opt/pm/processmaker/workflow/public_html/
|
| 27 |
+
|
| 28 |
# Copy ProcessMaker files to DocumentRoot (if they exist in the base image)
|
| 29 |
RUN if [ -d /opt/pm/processmaker ]; then \
|
| 30 |
ls -la /opt/pm/processmaker/; \
|