AnotherLanguageApp / Dockerfile
samu's picture
removing env
d24c2bf
raw
history blame
368 Bytes
FROM python:3.9
WORKDIR /code
# Install dependencies
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache --upgrade -r /code/requirements.txt
# Copy application code and .env file
COPY ./backend /code/backend
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
CMD ["uvicorn", "backend.api.app:app", "--host", "0.0.0.0", "--port", "7860"]