13 lines
347 B
Docker
13 lines
347 B
Docker
|
|
FROM ubuntu:22.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get clean \
|
|
&& apt-get update \
|
|
&& apt-get upgrade -y
|
|
RUN apt-get install -y python3 python3-pip
|
|
COPY requirements.txt /tmp/requirements.txt
|
|
RUN pip3 install -r /tmp/requirements.txt
|
|
|
|
# no CMD by default becuase its too dangerous
|
|
# to start main.py without checking it before! |