Skip to content

Ubuntu image with python and playwright installed. Tested on Apple M1 running Docker Desktop 4.11.1

Notifications You must be signed in to change notification settings

asowder3943/python-playwright

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Python Playwright

Base image for Python Playwright running in Docker on AMD64

Dependencies

Extends ubuntu:focal Chosen based on Playwright Compatability Documentation

Dockerfile

# Ubuntu Focal is officially supported by the playwright project
# https://playwright.dev/python/docs/docker#base-images
# As of last testing 20220819 (jammy) 22.04 was failing for my use case
FROM ubuntu:focal

# Update Apt repositories
RUN apt-get update 

# Install and configure Python
RUN apt-get -y --no-install-recommends install python3 python3-pip

# Install python application dependencies
RUN pip3 install --upgrade pip
RUN pip3 install playwright
RUN playwright install
RUN playwright install-deps

About

Ubuntu image with python and playwright installed. Tested on Apple M1 running Docker Desktop 4.11.1

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published