From faffe3fe3a31781bac26510bb6514e0a0215c5a2 Mon Sep 17 00:00:00 2001 From: Aidan Cheng Date: Sat, 13 Jul 2024 10:30:16 +0800 Subject: [PATCH] Update Dockerfile to use mage_data as the working directory instead of src The copy-and-pastable recommended Dockerfile here: https://docs.mage.ai/production/ci-cd/local-cloud/repository-setup already has the change to `/home/mage_data`, but the file that is linked in the documentation (this file) doesn't. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 914038b..b4f09e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM mageai/mageai:latest # Replace default_repo with the name of your project (e.g. demo_project) ARG PROJECT_NAME=default_repo -ARG MAGE_CODE_PATH=/home/src +ARG MAGE_CODE_PATH=/home/mage_data ARG USER_CODE_PATH=${MAGE_CODE_PATH}/${PROJECT_NAME} # Set the MAGE_CODE_PATH variable to the path of the Mage code.