browsertrix/backend/Dockerfile
Ilya Kreymer 8c0321bdea
Pydantic 2.x update + type fixes + python 3.12 (#1947)
* updates pydantic to 2.x
* also update to python 3.12
* additional type fixes:
- all Optional[] types must have a default value
- update to constrained types
- URL types converted from str
- test updates

Fixes #1940
2024-07-22 17:23:03 -07:00

12 lines
165 B
Docker

FROM docker.io/library/python:3.12-slim
WORKDIR /app
ADD requirements.txt /app
RUN pip install -r requirements.txt
ADD btrixcloud/ /app/btrixcloud/
EXPOSE 8000