diff --git a/Dockerfile b/Dockerfile index b6781799e..cdff362d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ RUN node --version RUN rm -rvf /app/node_modules RUN git clone https://github.com/2anki/web /app/web +RUN git clone https://github.com/2anki/create_deck /app/create_deck RUN npm --prefix /app/web install RUN npm install typescript -g diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 26f435433..d937aa7cc 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -33,7 +33,7 @@ export const BUILD_DIR = export const INDEX_FILE = path.join(BUILD_DIR, 'index.html'); export const CREATE_DECK_DIR = - process.env.CREATE_DECK_DIR || path.join(__dirname, '../../create_deck/'); + process.env.CREATE_DECK_DIR || path.join(__dirname, '../../../create_deck/'); export const CREATE_DECK_SCRIPT_PATH = path.join( CREATE_DECK_DIR,