Skip to content

Commit

Permalink
fix: path to create_deck
Browse files Browse the repository at this point in the history
  • Loading branch information
aalemayhu committed Jun 11, 2022
1 parent ba8637d commit 924a603
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 924a603

Please sign in to comment.