File size: 363 Bytes
e5feca2 8142f21 e5feca2 fd41d25 e53f2b7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
FROM python:3.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN touch /.aim_profile
RUN chown 1000:1000 /code /.aim_profile
RUN aim telemetry off
COPY nmt_logs.tar.gz .
RUN tar -xzf nmt_logs.tar.gz
CMD ["aim", "up", "--host", "0.0.0.0", "--port", "7860", "--workers", "2"] |