Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -39,6 +39,10 @@ RUN mkdir -p /app/cache /app/blocks /app/generated_projects /app/static /app/sta
|
|
| 39 |
chmod -R 777 /app/cache /app/blocks /app/generated_projects /app/static /app/static/assets
|
| 40 |
|
| 41 |
# Copy the rest of the application code to /app
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
COPY . /app/
|
| 43 |
|
| 44 |
# Set environment variables for Flask
|
|
|
|
| 39 |
chmod -R 777 /app/cache /app/blocks /app/generated_projects /app/static /app/static/assets
|
| 40 |
|
| 41 |
# Copy the rest of the application code to /app
|
| 42 |
+
COPY blocks/ /app/blocks/
|
| 43 |
+
COPY generated_projects/ /app/generated_projects/
|
| 44 |
+
COPY static/ /app/static/
|
| 45 |
+
COPY static/assets/ /app/static/assets/
|
| 46 |
COPY . /app/
|
| 47 |
|
| 48 |
# Set environment variables for Flask
|