Skip to content

Commit

Permalink
Update Dockerfile.teachers
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhilashKD authored Jan 22, 2025
1 parent f40e37a commit 29b9ae2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile.teachers
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ ENV PATH=$PNPM_HOME:$PNPM_HOME/bin:$PATH
# Install pnpm globally and ensure PNPM_HOME exists
RUN npm install -g pnpm && mkdir -p $PNPM_HOME

# Explicitly set shell type (bash) for pnpm setup
RUN echo "export SHELL=/bin/bash" >> ~/.bashrc && \
source ~/.bashrc && \
pnpm setup
# Use bash to run the setup commands
RUN /bin/bash -c "echo 'export SHELL=/bin/bash' >> ~/.bashrc && . ~/.bashrc && pnpm setup"

# Copy package.json and package-lock.json to the working directory for caching dependencies
COPY package*.json ./
Expand Down

0 comments on commit 29b9ae2

Please sign in to comment.