txtdiary/Dockerfile
Mylloon a441211ab4
init: project
nothing has been tested yet
2023-12-21 17:51:49 +01:00

19 lines
312 B
Docker

# syntax=docker/dockerfile:1
FROM python:3.11.6-alpine3.18
WORKDIR /txtdiary
COPY requirements.txt ./requirements.txt
COPY app ./src
COPY LICENSE ./LICENSE
RUN pip install . pyuwsgi -r requirements.txt
CMD [ "uwsgi"
, "--http", "127.0.0.1:8000"
, "--master"
, "-w" ,"src:app"
]
EXPOSE 8000