12 lines
214 B
Docker
12 lines
214 B
Docker
|
FROM debian:12-slim
|
||
|
RUN apt update
|
||
|
RUN apt install -y \
|
||
|
python3 \
|
||
|
python3-pip \
|
||
|
python3-flask
|
||
|
RUN mkdir -p /app
|
||
|
COPY app.py /app
|
||
|
WORKDIR /app
|
||
|
EXPOSE 5000
|
||
|
ENTRYPOINT ["python3"]
|
||
|
CMD ["app.py"]
|