This repository has been archived on 2023-10-10. You can view files and clone it, but cannot push or open issues or pull requests.
paste/Dockerfile
Ada 9155206b5c
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
add: docker support
2023-10-01 13:05:03 +02:00

11 lines
No EOL
260 B
Docker

FROM python:3.11-slim
WORKDIR /paste
COPY requirements.txt requirements.txt
COPY paste ${WORKDIR}
RUN apt update && apt install -y wget && apt -y clean
RUN pip install -r requirements.txt
EXPOSE 5000
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"]