File size: 360 Bytes
e5feca2 919eda0 8142f21 919eda0 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
COPY nmt_logs.tar.gz .
RUN tar -xzf nmt_logs.tar.gz
RUN touch /.aim_profile
RUN chmod -R 777 /code /.aim_profile
RUN aim telemetry off
CMD ["aim", "up", "--host", "0.0.0.0", "--port", "7860", "--workers", "2"] |