Skip to content

Commit

Permalink
Update Dockerfile to remove redundant yarn install command
Browse files Browse the repository at this point in the history
  • Loading branch information
ngeorger committed Apr 10, 2024
1 parent c0f8602 commit 7a69905
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ USER node
# Install Ghost with the specified version, using MySQL as the database, and configure it without prompts, stack traces, setup, and in the specified installation directory
RUN yarn config set network-timeout 180000 && \
yarn config set verbose true && \
ghost install $GHOST_VERSION --db mysql --dbhost mysql --no-prompt --no-stack --no-setup --dir $GHOST_INSTALL || cd $GHOST_INSTALL/current && yarn install --force

ghost install $GHOST_VERSION --db mysql --dbhost mysql --no-prompt --no-stack --no-setup --dir $GHOST_INSTALL

# Switch back to the root user
USER root
Expand Down

0 comments on commit 7a69905

Please sign in to comment.