File size: 624 Bytes
6a7f9b3 b879795 78178b5 0da959e 8d4e327 0da959e dea771b a3a5fc1 dea771b a3a5fc1 dea771b 55b453f b55971a b879795 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
FROM sab148/misato-dataset:latest
USER root
# Set up time zone.
RUN pip install --co-cache-dir --upgrade -r requirements.txt
#RUN useradd -m -u 1000 user
#USER user
#ENV HOME=/home/user \
# PATH=/home/user/.local/bin:$PATH
#WORKDIR $HOME/app
#COPY --chown=user . $HOME/app
#RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser .
#
#USER appuser
#
#CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
WORKDIR $HOME/app
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
COPY --chown=user . $HOME/app
CMD ["python", "main.py"]
|