16 lines
355 B
Docker
16 lines
355 B
Docker
|
FROM python:3.11
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
# apt install
|
||
|
RUN apt-get update && \
|
||
|
DEBAIN_FRONTEND=noninteractive apt-get install -qy libmagic1 libmagic-dev
|
||
|
# other packages if needed
|
||
|
# git openssh-server vim net-tools iputils-ping btop tmux wget
|
||
|
|
||
|
# pip3 install
|
||
|
COPY ./requirements.txt /app/requirements.txt
|
||
|
RUN pip3 install -r /app/requirements.txt
|
||
|
|
||
|
EXPOSE 5000
|