Skip to content

Commit

Permalink
install playwright dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thatkookooguy committed Oct 12, 2024
1 parent cc16817 commit 3479a02
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN mkdir -p /pnpm-store
# 5. zsh and oh-my-zsh: required for the terminal to work properly
# 6. locales: required for character encoding support
# 7. procps: provides ps command
# 8. requirements to run playwright
RUN apt-get update && apt-get install -y \
git \
curl \
Expand Down Expand Up @@ -59,6 +60,12 @@ COPY package.json pnpm-lock.yaml ./
# Install dependencies
RUN pnpm install

# Install Playwright dependencies (this ensures browsers can run correctly)
RUN pnpm exec playwright install-deps

# Install Playwright browsers
RUN pnpm exec playwright install

# Expose the application's port
EXPOSE 3003

Expand Down

0 comments on commit 3479a02

Please sign in to comment.