atropos/environments/code_execution_server/Dockerfile
2025-05-07 21:18:22 -07:00

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"]