Dockerfile

Thu, 22 Jun 2023 12:14:31 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 22 Jun 2023 12:14:31 +0100
changeset 0
b8706b1b3d0f
permissions
-rw-r--r--

Initial commit

# syntax=docker/dockerfile:1.4
FROM python:3.10-alpine

WORKDIR /app

RUN apk update \
 && apk add git

COPY requirements.txt /app
RUN pip3 install -r requirements.txt \
 && rm -rf /root/.cache/pip

COPY . /app

ENTRYPOINT ["python3"]
CMD ["app.py"]

mercurial