txtdiary/Dockerfile
Mylloon 359a3ffb9a
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
fix: misc
2023-12-22 04:35:05 +01:00

18 lines
314 B
Docker

# syntax=docker/dockerfile:1
FROM python:3.11.6-alpine3.18
RUN addgroup -S td && adduser -S td -G td
WORKDIR /txtdiary
COPY LICENSE .
COPY requirements.txt .
RUN pip install pyuwsgi -r requirements.txt
COPY ./src ./app
USER td
CMD [ "uwsgi", "--http", "0.0.0.0:80", "-Mw" ,"app.app", "--callable", "app" ]