mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
16 lines
429 B
Docker
16 lines
429 B
Docker
FROM python:3
|
|
|
|
RUN echo "Acquire::http::Pipeline-Depth 0;" > /etc/apt/apt.conf.d/99custom && \
|
|
echo "Acquire::http::No-Cache true;" >> /etc/apt/apt.conf.d/99custom && \
|
|
echo "Acquire::BrokenProxy true;" >> /etc/apt/apt.conf.d/99custom
|
|
|
|
RUN apt-get update && apt-get upgrade -y \
|
|
&& apt-get install -y build-essential
|
|
|
|
RUN pip install flask
|
|
|
|
WORKDIR /tmp
|
|
|
|
COPY server.py /tmp/server.py
|
|
|
|
CMD ["python", "server.py"]
|