20 lines
312 B
Text
20 lines
312 B
Text
|
# 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
|